移除地区的校验,不需要填地区

This commit is contained in:
2026-07-27 12:18:03 +08:00
parent 25f2ba4c03
commit c4ec7828bd
10 changed files with 25 additions and 223 deletions

View File

@@ -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) {