增加配送人员信息判断
This commit is contained in:
parent
8a3e620cee
commit
e55fa05ee6
@ -229,6 +229,7 @@ class LogisticsController extends BaseApiController
|
||||
if (!$logistics) return $this->fail('物流信息不存在');
|
||||
//获取配送员信息
|
||||
$courier = Db::connect('mysql3')->name('la_user')->field('real_name,mobile')->where('id', $user_id)->find();
|
||||
if (!$courier) return $this->fail('配送人员信息不存在');
|
||||
//设置记录信息
|
||||
$record = [
|
||||
'lst_id' => $logistics['id'],
|
||||
@ -263,6 +264,7 @@ class LogisticsController extends BaseApiController
|
||||
if (!$logistics) return $this->fail('物流信息不存在');
|
||||
//获取配送员信息
|
||||
$courier = Db::connect('mysql3')->name('la_user')->field('real_name,mobile')->where('id', $user_id)->find();
|
||||
if (!$courier) return $this->fail('配送人员信息不存在');
|
||||
//设置记录信息
|
||||
$record = [
|
||||
'lst_id' => $logistics['id'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user