chore: sync pending workspace updates

This commit is contained in:
wushumin
2026-05-21 15:28:16 +08:00
parent 7ba3ac1b67
commit cfd21b462a
8 changed files with 53 additions and 30 deletions

View File

@@ -949,8 +949,8 @@ class OrdersController
if ($serviceProvider === '') {
return api_error('服务类型不正确', 422);
}
if ($categoryId <= 0 || $brandId <= 0 || $productName === '') {
return api_error('请完整填写品类品牌和商品名称', 422);
if ($categoryId <= 0 || $brandId <= 0) {
return api_error('请完整填写品类品牌', 422);
}
if ($consignee === '' || $mobile === '' || $province === '' || $city === '' || $district === '' || $detailAddress === '') {
return api_error('请完整填写寄回收件信息', 422);