544782275@qq.com il y a 3 ans
Parent
commit
2ea26ead80
1 fichiers modifiés avec 13 ajouts et 0 suppressions
  1. 13 0
      application/api/controller/Member.php

+ 13 - 0
application/api/controller/Member.php

@@ -125,6 +125,19 @@ class Member extends Base
      * @title 活动介绍
      * @desc 活动介绍
      * @author QGF
+     * @url /api/Member/qr_code
+     * @method GET
+     * @tag 活动介绍
+     * @return name:-- type:string default:-- desc:邀请好友的二维码链接地址
+     */
+    public function qr_code(){
+        $uid = $this->uid;
+        $this->success('获取成功',$this->request->root(true).'/dist/register.html?pid='.$uid);
+    }
+    /**
+     * @title 活动介绍
+     * @desc 活动介绍
+     * @author QGF
      * @url /api/Member/activity_introduction
      * @method GET
      * @tag 活动介绍