chore: src/app 目录与华为云第一台服务器上的代码做第一次比较合并
This commit is contained in:
@@ -601,4 +601,12 @@ class Member extends BaseApi
|
||||
model('personnel_message')->add($insert);
|
||||
return $this->response(['code'=>0,'message'=>'留言成功~']);
|
||||
}
|
||||
|
||||
public function getbusiness(){
|
||||
|
||||
$token = $this->checkToken();
|
||||
if ($token[ 'code' ] < 0) return $this->response($token);
|
||||
$list = model('business')->getList([]);
|
||||
return $this->response(['code'=>0,'data'=>$list]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user