Commit e8307f0c authored by zfc's avatar zfc

跨域

parent f0d80c7f
......@@ -114,6 +114,7 @@ class Client extends Basic
* @throws \think\exception\DbException
*/
public function agentUserTb(){
header('Access-Control-Allow-Origin:*');
$table= new Users;
$data['msg'] = '';
$time=date("Y-m-d H:i:s",time());//当前时间
......@@ -163,6 +164,7 @@ class Client extends Basic
* @throws \think\exception\DbException
*/
public function agentUserFollow(){
header('Access-Control-Allow-Origin:*');
$table= new UPhoneFollowPp;
$data['msg'] = '';
$params = $this->request->param();
......@@ -208,6 +210,7 @@ class Client extends Basic
* @throws \think\exception\DbException
*/
public function getULabelsListApp() {
header('Access-Control-Allow-Origin:*');
$result['code'] = 200;
$result['msg'] = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment