feat: 第三方订单默认为前置定案
parent
b823b9110a
commit
da41edc110
|
@ -63,6 +63,7 @@ class Order extends Api
|
|||
$post['client'] = $this->client;
|
||||
if ($this->client == ClientEnum::api) {
|
||||
$post['is_api'] = 1;//通过三方API生成的订单
|
||||
$post['is_frontend'] = 1;//通过三方API生成的订单默认设置前置订单 不需要付款
|
||||
}
|
||||
(new OrderValidate())->goCheck('add', $post);
|
||||
$order = OrderLogic::add($post);
|
||||
|
|
Loading…
Reference in New Issue