fix : Trait 추가 및 query 디버깅 소스 수정
This commit is contained in:
@@ -11,11 +11,11 @@ class ProductService
|
||||
/**
|
||||
* 회원 조회(리스트)
|
||||
*/
|
||||
public static function getCategory(string $userToken, bool $debug = false)
|
||||
public static function getCategory()
|
||||
{
|
||||
$query = CommonCode::where('code_group','category')->where('parent_id',null);
|
||||
|
||||
return ApiResponse::response('get', $query, true);
|
||||
return ApiResponse::response('get', $query);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user