Kaynağa Gözat

【Mod】恢复代码

liuxiangxin 5 ay önce
ebeveyn
işleme
6c516e5675
1 değiştirilmiş dosya ile 2 ekleme ve 6 silme
  1. 2 6
      app/Http/Controllers/Api/Score/Product.php

+ 2 - 6
app/Http/Controllers/Api/Score/Product.php

@@ -65,12 +65,8 @@ class Product extends Api{
 		// $this->verify_sign();
         // 验证参数
 		$request->scene('get_detail')->validate();
-		try {
-			// 检查登录
-			$uid						= $this->checkLogin();
-		} catch (\Throwable $th) {
-		}
-		
+		// 检查登录
+		$uid						= $this->checkLogin();
 		// 接收参数
 		$id						    = request('id',0);
 		// 显示