Merge branch 'master' of git.excellentkk.cn:mkm/shop-php
This commit is contained in:
commit
fa730cf99f
@ -135,8 +135,8 @@ class StoreOrderStatusRepository extends BaseRepository
|
|||||||
{
|
{
|
||||||
$request = request();
|
$request = request();
|
||||||
$data['user_type'] = $request->userType();
|
$data['user_type'] = $request->userType();
|
||||||
$data['uid'] = $request->adminId();
|
$data['uid'] = $data['user_type'] == 1 ? $request->uid() : $request->adminId();
|
||||||
$data['nickname'] = $request->adminInfo()->real_name;
|
$data['nickname'] = $data['user_type'] == 1 ? $request->userInfo()->real_name : $request->adminInfo()->real_name;
|
||||||
return $this->dao->create($data);
|
return $this->dao->create($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user