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();
|
||||
$data['user_type'] = $request->userType();
|
||||
$data['uid'] = $request->adminId();
|
||||
$data['nickname'] = $request->adminInfo()->real_name;
|
||||
$data['uid'] = $data['user_type'] == 1 ? $request->uid() : $request->adminId();
|
||||
$data['nickname'] = $data['user_type'] == 1 ? $request->userInfo()->real_name : $request->adminInfo()->real_name;
|
||||
return $this->dao->create($data);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user