瀏覽代碼

签到调整

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

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

@@ -41,7 +41,7 @@ class Usersign extends Api
 
             //今天只能签一次
             if($check['createtime'] > strtotime(date('Y-m-d'))){
-                //$this->error('今天已经签过了');
+                $this->error('今天已经签过了');
             }
         }
 
@@ -109,7 +109,7 @@ class Usersign extends Api
 
             if($rs === false){
                 Db::rollback();
-                $this->error('签到失败赠送vip失败');
+                $this->error('连续签到赠送vip失败');
             }
             return true;
         }