@@ -307,7 +307,7 @@ class MemberService extends BaseService
$userList = $this->model->where(['mark'=> 1])->whereRaw('FIND_IN_SET(?,points)', $userId)->select(['id','point_id','points'])->orderBy('create_time','asc')->get();
$userList = $userList? $userList->toArray() : [];
- if(count($userList) < 3){
+ if(count($userList) < 2){
return $userId;
}
@@ -179,6 +179,7 @@ class StoreService extends BaseService
$data['driver_license'] = get_image_path($data['driver_license']);
+ $data['name'] = $data['nickname'];
if (empty($data['name'])) {
return message('请填写商户名称', false);