wupengfei 1 年之前
父節點
當前提交
6eccb91f8c
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      application/api/controller/Qc.php

+ 3 - 2
application/api/controller/Qc.php

@@ -3,10 +3,11 @@
 namespace app\api\controller;
 use app\api\controller\WeChart;
 use think\Db;
-class Qc{
+class Qc extends Base {
     function index()
     {
-        var_dump(666);
+        $url ="https://open.kwaixiaodian.com/oauth/authorize?app_id=ks698620896473026758&redirect_uri=https%3A%2F%2Fwww.fanfanvip.com%2Fapi%2FKuaishou%2Fnotify&scope=merchant_shop,merchant_distribution,merchant_funds,merchant_scm,merchant_item,merchant_order,merchant_promotion,merchant_user,merchant_refund,user_info,merchant_video,merchant_material,merchant_comment,merchant_logistics&response_type=code";
+        $this->redirect($url);
     }