Browse Source

段位介绍

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

+ 2 - 2
application/api/controller/User.php

@@ -1118,11 +1118,11 @@ class User extends Api
         $this->success('个人账单明细', $data);
     }
 
-    //关于我们/免责协议/用户协议/隐私政策
+    //关于我们/免责协议/用户协议/隐私政策/段位介绍
     public function getagreement()
     {
         $type = input('type', 0, 'intval');
-        if (!in_array($type, [1, 2, 3, 4])) {
+        if (!in_array($type, [1, 2, 3, 4, 5])) {
             $this->error('参数错误');
         }