diff --git a/app/admin/logic/user/UserLogic.php b/app/admin/logic/user/UserLogic.php index d911d34f3..cac512f80 100644 --- a/app/admin/logic/user/UserLogic.php +++ b/app/admin/logic/user/UserLogic.php @@ -102,6 +102,7 @@ class UserLogic extends BaseLogic 'create_uid' => $params['create_uid']??0, 'store_id' => $params['store_id']??0, 'staff_id' => $params['staff_id']??0, + 'user_ship' => $data['user_ship']??0, ]); UserAddress::create([ 'uid' => $res['id'], diff --git a/app/api/lists/user_create_log/UserCreateLogLists.php b/app/api/lists/user_create_log/UserCreateLogLists.php index fc9d05a73..aad9deb93 100644 --- a/app/api/lists/user_create_log/UserCreateLogLists.php +++ b/app/api/lists/user_create_log/UserCreateLogLists.php @@ -45,6 +45,7 @@ class UserCreateLogLists extends BaseAdminDataLists implements ListsSearchInterf */ public function lists(): array { + $this->searchWhere['user_ship'] =4; $data = UserCreateLog::where($this->searchWhere) ->limit($this->limitOffset, $this->limitLength) ->order(['id' => 'desc'])