|
@@ -1342,7 +1342,7 @@ class OrderController extends BaseController
|
|
|
|
|
|
|
|
CustomClass::valid($custom, $this->shopId);
|
|
CustomClass::valid($custom, $this->shopId);
|
|
|
if (!empty($custom['mainId']) && $custom['mainId'] == $custom['ownMainId']) {
|
|
if (!empty($custom['mainId']) && $custom['mainId'] == $custom['ownMainId']) {
|
|
|
- util::fail('不能给自己开单');
|
|
|
|
|
|
|
+ //util::fail('不能给自己开单');
|
|
|
}
|
|
}
|
|
|
$post['ghsId'] = $custom['ghsId'] ?? 0;
|
|
$post['ghsId'] = $custom['ghsId'] ?? 0;
|
|
|
$post['customMobile'] = $custom['mobile'] ?? '';
|
|
$post['customMobile'] = $custom['mobile'] ?? '';
|
|
@@ -3527,7 +3527,7 @@ class OrderController extends BaseController
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (isset($customRes->mainId) && !empty($customRes->mainId) && $customRes->mainId == $customRes->ownMainId) {
|
|
if (isset($customRes->mainId) && !empty($customRes->mainId) && $customRes->mainId == $customRes->ownMainId) {
|
|
|
- util::fail('不能给自己开单');
|
|
|
|
|
|
|
+ //util::fail('不能给自己开单');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$file = $_FILES['file'];
|
|
$file = $_FILES['file'];
|