修改商家入驻本地生活短信通知
This commit is contained in:
parent
5f0b904a9a
commit
a6bf0fc810
@ -57,15 +57,7 @@ class LocalStore extends Api
|
||||
if($data['lstore_id'] != 0){
|
||||
$data['store_state'] = 0;
|
||||
$result = Db::name("local_store")->where("lstore_id",$data['lstore_id'])->save($data);
|
||||
if($data['empowerPhone']){
|
||||
event('Notice', [
|
||||
'scene' => NoticeEnum::LOCAL_SHOP_SETTLED_NOTICE,
|
||||
'mobile' => 18436015360,
|
||||
'params' => [
|
||||
'user_id' => $this->user_id,
|
||||
'shopName' => $data['shopName'],
|
||||
]
|
||||
]);
|
||||
if($result){
|
||||
return JsonServer::success('上传成功');
|
||||
}else{
|
||||
return JsonServer::error('上传失败');
|
||||
@ -77,6 +69,16 @@ class LocalStore extends Api
|
||||
$data['user_id'] = $user_id;
|
||||
$data['create_time'] = date("Y-m-d H:i:s");
|
||||
$result = Db::name("local_store")->save($data);
|
||||
|
||||
event('Notice', [
|
||||
'scene' => NoticeEnum::LOCAL_SHOP_SETTLED_NOTICE,
|
||||
'mobile' => 18436015360,
|
||||
'params' => [
|
||||
'user_id' => $this->user_id,
|
||||
'shopName' => $data['shopName'],
|
||||
]
|
||||
]);
|
||||
|
||||
if($result){
|
||||
return JsonServer::success('上传成功');
|
||||
}else{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user