|
|
@@ -249,6 +249,10 @@ class DeliveryController extends BaseController
|
|
|
util::fail('订单已经发过跑腿');
|
|
|
}
|
|
|
|
|
|
+ //避免连续点击的重复提交 ssh
|
|
|
+ $adminId = $this->adminId;
|
|
|
+ util::checkRepeatCommit($adminId, 3);
|
|
|
+
|
|
|
$ds = new DispatchService($this->mainId, $platform);
|
|
|
$ret = $ds->createOrder($ghsOrder, 'xhGhsOrder', $this->shopId, $params);
|
|
|
|