作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

企业邀请码

@@ -290,7 +290,6 @@ class Company extends Api @@ -290,7 +290,6 @@ class Company extends Api
290 */ 290 */
291 public function inviteCode() 291 public function inviteCode()
292 { 292 {
293 - $this->success('成功',['invite_code'=>$this->company_id]);  
294 $invite_code = $this->model->where('id',$this->company_id)->value('invite_code'); 293 $invite_code = $this->model->where('id',$this->company_id)->value('invite_code');
295 $this->success('成功',compact('invite_code')); 294 $this->success('成功',compact('invite_code'));
296 } 295 }