浏览代码

add test tools

lushuncheng 4 年之前
父节点
当前提交
c7d1634f3f
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      app/admin/controller/Sina.php

+ 8 - 0
app/admin/controller/Sina.php

@@ -73,6 +73,14 @@ class Sina extends Controller
             $this->success('修改活动规则配置成功!');
         }
     }
+    /**
+     * 清除用户任务数据
+     * @auth true
+     * @menu true
+     * @throws \think\db\exception\DataNotFoundException
+     * @throws \think\db\exception\DbException
+     * @throws \think\db\exception\ModelNotFoundException
+     */
     public function removeUserTask()
     {
         $this->_applyFormToken();