소스 검색

【Mod】回去被注释的uid

liuxiangxin 5 달 전
부모
커밋
18defd5119
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/Api/Orders.php

+ 1 - 1
app/Http/Controllers/Api/Orders.php

@@ -40,7 +40,7 @@ class Orders extends Api{
 		// 验证参数
 		$request->scene('create')->validate();
 		// 检查登录
-		$uid							= 2;//$this->checkLogin();
+		$uid							= $this->checkLogin();
 		// 接收参数
 		$isCart							= request('is_cart',0);
 		$productList					= request('product_list','[]');