正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论