|
|
@@ -78,6 +78,9 @@ class OrderController extends BaseController
|
|
|
$post['customId'] = $customId;
|
|
|
if (!empty($customId)) {
|
|
|
$custom = CustomClass::getCustom($customId);
|
|
|
+ if (empty($custom)) {
|
|
|
+ util::fail('客户无效');
|
|
|
+ }
|
|
|
CustomClass::valid($custom, $this->sjId);
|
|
|
$post['customMobile'] = $custom['mobile'] ?? '';
|
|
|
$customName = $custom['name'] ?? '';
|
|
|
@@ -257,7 +260,7 @@ class OrderController extends BaseController
|
|
|
if (!empty($customId)) {
|
|
|
util::success(['sedCost' => 27]);
|
|
|
}
|
|
|
- if(empty($orderId)){
|
|
|
+ if (empty($orderId)) {
|
|
|
util::success(['sedCost' => 10]);
|
|
|
}
|
|
|
$province = $get['province'] ?? '';
|