邹景立 3 rokov pred
rodič
commit
b0cd6f0516

+ 0 - 1
app/data/controller/api/Login.php

@@ -108,5 +108,4 @@ class Login extends Controller
         [$state, $message, $data] = MessageService::instance()->sendVerifyCode($data['phone']);
         $state ? $this->success($message, $data) : $this->error($message, $data);
     }
-
 }

+ 0 - 8
app/data/controller/base/Message.php

@@ -31,9 +31,6 @@ class Message extends Controller
     /**
      * 添加系统通知
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function add()
     {
@@ -43,9 +40,6 @@ class Message extends Controller
     /**
      * 编辑系统通知
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function edit()
     {
@@ -66,7 +60,6 @@ class Message extends Controller
     /**
      * 修改通知状态
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function state()
     {
@@ -79,7 +72,6 @@ class Message extends Controller
     /**
      * 删除系统通知
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {

+ 0 - 8
app/data/controller/base/Payment.php

@@ -40,9 +40,6 @@ class Payment extends Controller
     /**
      * 添加支付通道
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function add()
     {
@@ -53,9 +50,6 @@ class Payment extends Controller
     /**
      * 编辑支付通道
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function edit()
     {
@@ -104,7 +98,6 @@ class Payment extends Controller
     /**
      * 修改通道状态
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function state()
     {
@@ -117,7 +110,6 @@ class Payment extends Controller
     /**
      * 删除支付通道
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {

+ 0 - 8
app/data/controller/base/Upgrade.php

@@ -44,9 +44,6 @@ class Upgrade extends Controller
     /**
      * 添加用户等级
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function add()
     {
@@ -56,9 +53,6 @@ class Upgrade extends Controller
     /**
      * 编辑用户等级
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function edit()
     {
@@ -131,7 +125,6 @@ class Upgrade extends Controller
     /**
      * 修改等级状态
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function state()
     {
@@ -141,7 +134,6 @@ class Upgrade extends Controller
     /**
      * 删除用户等级
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {

+ 0 - 8
app/data/controller/base/postage/Company.php

@@ -41,9 +41,6 @@ class Company extends Controller
     /**
      * 添加快递公司
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function add()
     {
@@ -54,9 +51,6 @@ class Company extends Controller
     /**
      * 编辑快递公司
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function edit()
     {
@@ -67,7 +61,6 @@ class Company extends Controller
     /**
      * 修改快递公司状态
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function state()
     {
@@ -80,7 +73,6 @@ class Company extends Controller
     /**
      * 删除快递公司
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {

+ 0 - 8
app/data/controller/base/postage/Template.php

@@ -52,9 +52,6 @@ class Template extends Controller
     /**
      * 添加配送邮费模板
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function add()
     {
@@ -65,9 +62,6 @@ class Template extends Controller
     /**
      * 编辑配送邮费模板
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function edit()
     {
@@ -103,7 +97,6 @@ class Template extends Controller
     /**
      * 启用或禁用邮费模板
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function state()
     {
@@ -116,7 +109,6 @@ class Template extends Controller
     /**
      * 删除邮费模板
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {

+ 0 - 8
app/data/controller/news/Item.php

@@ -57,9 +57,6 @@ class Item extends Controller
     /**
      * 添加文章内容
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function add()
     {
@@ -70,9 +67,6 @@ class Item extends Controller
     /**
      * 编辑文章内容
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function edit()
     {
@@ -115,7 +109,6 @@ class Item extends Controller
     /**
      * 修改文章状态
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function state()
     {
@@ -128,7 +121,6 @@ class Item extends Controller
     /**
      * 删除文章内容
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {

+ 0 - 8
app/data/controller/news/Mark.php

@@ -30,9 +30,6 @@ class Mark extends Controller
     /**
      * 添加文章标签
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function add()
     {
@@ -42,9 +39,6 @@ class Mark extends Controller
     /**
      * 编辑文章标签
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function edit()
     {
@@ -54,7 +48,6 @@ class Mark extends Controller
     /**
      * 修改文章标签状态
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function state()
     {
@@ -67,7 +60,6 @@ class Mark extends Controller
     /**
      * 删除文章标签
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {

+ 0 - 8
app/data/controller/shop/Cate.php

@@ -43,9 +43,6 @@ class Cate extends Controller
     /**
      * 添加商品分类
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function add()
     {
@@ -55,9 +52,6 @@ class Cate extends Controller
     /**
      * 编辑商品分类
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function edit()
     {
@@ -87,7 +81,6 @@ class Cate extends Controller
     /**
      * 修改商品分类状态
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function state()
     {
@@ -100,7 +93,6 @@ class Cate extends Controller
     /**
      * 删除商品分类
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {

+ 0 - 11
app/data/controller/shop/Goods.php

@@ -81,9 +81,6 @@ class Goods extends Controller
     /**
      * 添加商品数据
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function add()
     {
@@ -95,9 +92,6 @@ class Goods extends Controller
     /**
      * 编辑商品数据
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function edit()
     {
@@ -109,9 +103,6 @@ class Goods extends Controller
     /**
      * 复制编辑商品
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function copy()
     {
@@ -244,7 +235,6 @@ class Goods extends Controller
     /**
      * 商品上下架
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function state()
     {
@@ -257,7 +247,6 @@ class Goods extends Controller
     /**
      * 删除商品数据
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {

+ 0 - 8
app/data/controller/shop/Mark.php

@@ -42,9 +42,6 @@ class Mark extends Controller
     /**
      * 添加商品标签
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function add()
     {
@@ -54,9 +51,6 @@ class Mark extends Controller
     /**
      * 编辑商品标签
      * @auth true
-     * @throws \think\db\exception\DataNotFoundException
-     * @throws \think\db\exception\DbException
-     * @throws \think\db\exception\ModelNotFoundException
      */
     public function edit()
     {
@@ -66,7 +60,6 @@ class Mark extends Controller
     /**
      * 修改商品标签状态
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function state()
     {
@@ -76,7 +69,6 @@ class Mark extends Controller
     /**
      * 删除商品标签
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {

+ 1 - 1
app/data/controller/shop/Send.php

@@ -140,7 +140,7 @@ class Send extends Controller
             }
         }
     }
-    
+
     /**
      * 快递追踪查询
      * @auth true

+ 0 - 1
app/data/controller/total/Portal.php

@@ -54,5 +54,4 @@ class Portal extends Controller
         $this->levels = array_values($levels);
         $this->fetch();
     }
-
 }

+ 0 - 1
app/data/controller/user/Admin.php

@@ -173,7 +173,6 @@ class Admin extends Controller
     /**
      * 修改用户状态
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function state()
     {

+ 1 - 2
app/data/controller/user/Balance.php

@@ -2,7 +2,6 @@
 
 namespace app\data\controller\user;
 
-use think\admin\model\SystemUser;
 use app\data\model\DataUser;
 use app\data\model\DataUserBalance;
 use app\data\service\UserAdminService;
@@ -10,6 +9,7 @@ use app\data\service\UserBalanceService;
 use app\data\service\UserUpgradeService;
 use think\admin\Controller;
 use think\admin\extend\CodeExtend;
+use think\admin\model\SystemUser;
 use think\admin\service\AdminService;
 
 /**
@@ -111,7 +111,6 @@ class Balance extends Controller
     /**
      * 删除充值记录
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {

+ 0 - 1
app/data/controller/user/Message.php

@@ -53,7 +53,6 @@ class Message extends Controller
     /**
      * 删除短信记录
      * @auth true
-     * @throws \think\db\exception\DbException
      */
     public function remove()
     {