浏览代码

Merge branch 'liuxiangxin' of http://47.112.106.152:10880/Server/kailin into liuxiangxin

liuxiangxin 5 月之前
父节点
当前提交
a2f5969df9
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      app/Http/Controllers/Api/Score/Product.php

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

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