wesmiler 2 лет назад
Родитель
Сommit
0f7be2c042
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/Services/Api/MemberService.php

+ 1 - 0
app/Services/Api/MemberService.php

@@ -543,6 +543,7 @@ class MemberService extends BaseService
         ];
         ];
 
 
         $userId = $this->model->insertGetId($data);
         $userId = $this->model->insertGetId($data);
+        $this->error = 2008;
         return [
         return [
             'app_url' => ConfigService::make()->getConfigByCode("app_{$appSources}_url"),
             'app_url' => ConfigService::make()->getConfigByCode("app_{$appSources}_url"),
             'info' => ['uid' => $userId, 'invite_id' => $parentId, 'point_id'=> $pointId, 'username' => $data['username']],
             'info' => ['uid' => $userId, 'invite_id' => $parentId, 'point_id'=> $pointId, 'username' => $data['username']],