wugg 8 months ago
parent
commit
5088676dd3
2 changed files with 1 additions and 3 deletions
  1. 0 2
      app/txx/controller/Good.php
  2. 1 1
      app/txx/middleware.php

+ 0 - 2
app/txx/controller/Good.php

@@ -48,8 +48,6 @@ class Good extends BaseController
 		if(empty($goodArr)) return json_show(1005,"未找到商品有效数据");
 		$actCode= $post['actCode']!=''? trim($post['actCode']):"";
 		if($actCode=='') return json_show(1004,"参数错误 actCode 不能为空");
-//	    $roundId= $post['roundId']!=''? trim($post['roundId']):"";
-//	    if($roundId=='') return json_show(1004,"参数错误 roundId 不能为空");
 		$act =new Act();
 		$isActExit=$act->where(['actCode'=>$actCode,"is_del"=>0])->find();
 		if($isActExit==false) return json_show(1005,"未找到活动有效数据");

+ 1 - 1
app/txx/middleware.php

@@ -2,7 +2,7 @@
 // 全局中间件定义文件
 return [
     // 全局请求缓存
-//    app\txx\middleware\CheckAuth::class
+    app\txx\middleware\CheckAuth::class
     // 多语言加载
     // \think\middleware\LoadLangPack::class,
     // Session初始化