| xqd
@@ -2455,6 +2455,7 @@ class AlbumController extends Controller
|
|
|
return $this->error(ErrorCode::CLIENT_WRONG_PARAMS, '传入参数不正确!', $validator->messages());
|
|
|
}
|
|
|
$data = $request->input();
|
|
|
+ $res = array();
|
|
|
if($userAuth->is_dealer!=1) return $this->error(ErrorCode::CLIENT_WRONG_PARAMS, '该用户不是经销商!', $validator->messages());
|
|
|
$user_agent = AlbumAgentModel::where('user_id',$userAuth->id)->first();
|
|
|
if ($data['type'] == 1) { //尺寸统计
|
| xqd
@@ -2493,5 +2494,6 @@ class AlbumController extends Controller
|
|
|
];
|
|
|
}
|
|
|
}
|
|
|
+ return $this->api(compact('res'));
|
|
|
}
|
|
|
}
|