add 从新供销查配送员
This commit is contained in:
parent
8d056938d1
commit
30b3d6c5c5
@ -189,7 +189,7 @@ class LogisticsLogic extends BaseLogic
|
||||
$captain = Courier::field('id,company_id,nickname,mobile')->where("CONCAT_WS(',',province,city,area,street,village,brigade) = '". $order['user_address_code']."'")->whereIn('group_id',[2, 18])->find();
|
||||
if(!$captain) return ['code'=>0, 'msg'=>'无法确定所在小队'];
|
||||
//获取配送员信息
|
||||
$courier = Courier::field('id as user_id,nickname as master_name,mobile as master_phone')->where('group_id',20)->find();
|
||||
$courier = Courier::field('nickname as company_name,id as user_id,nickname as master_name,mobile as master_phone')->where('group_id',20)->find();
|
||||
//判断配送员是否存在
|
||||
if(!$courier) return ['code'=>0, 'msg'=>'配送员未匹配'];
|
||||
//获取下单用户信息
|
||||
|
@ -1,5 +1,5 @@
|
||||
location / {
|
||||
if (!-f $request_filename) {
|
||||
rewrite ^(.*)$ /index.php?s=/$1 last;
|
||||
}
|
||||
if (!-e $request_filename)
|
||||
{
|
||||
rewrite ^/(.*)$ /index.php?s=$1 last;
|
||||
break;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user