Browse Source

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

liuxiangxin 5 tháng trước cách đây
mục cha
commit
a2f5969df9
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  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);
 		// 显示