Browse Source

完善邀请

15954078560 3 năm trước cách đây
mục cha
commit
3609a810b6
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      application/api/controller/Index.php

+ 1 - 2
application/api/controller/Index.php

@@ -201,8 +201,7 @@ class Index extends Api
      */
     public function getInviteImg() {
         // 获取用户的邀请码
-//        $invitecode = \app\common\model\User::where(["id"=>$this->auth->id])->value("invite_no");
-        $invitecode = 'y0AnrH';
+        $invitecode = \app\common\model\User::where(["id"=>$this->auth->id])->value("invite_no");
         // 文字图片合成
         $bigImgPath = httpurllocal('/assets/img/inviteimg.png');
         $img = imagecreatefrompng($bigImgPath);