Commit 3eb9c6a1 authored by zfc's avatar zfc Committed by hujun

跨域

parent 8404249e
......@@ -142,6 +142,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());//当前时间
......@@ -191,6 +192,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();
......@@ -236,6 +238,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