移除地区的校验,不需要填地区
This commit is contained in:
@@ -18,7 +18,7 @@ class Address extends Backend
|
||||
|
||||
* 收获地址管理
|
||||
|
||||
*/
|
||||
*/
|
||||
|
||||
class Address extends Backend
|
||||
|
||||
@@ -63,41 +63,4 @@ class Address extends Backend
|
||||
|
||||
|
||||
/**
|
||||
|
||||
* 查看
|
||||
|
||||
* @throws Throwable
|
||||
|
||||
*/
|
||||
|
||||
public function index(\Webman\Http\Request $request): \support\Response
|
||||
|
||||
{
|
||||
|
||||
$response = $this->initializeBackend($request);
|
||||
|
||||
if ($response !== null) {
|
||||
|
||||
return $response;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ($request->get('select') || $request->post('select')) {
|
||||
|
||||
$this->_select();
|
||||
|
||||
return $this->success();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
list($where, $alias, $limit, $order) = $this->queryBuilder();
|
||||
|
||||
$res = $this->model
|
||||
|
||||
->with(['playxUserAsset' => function ($query) {
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user