Commit 0bc9210a authored by hangjun83's avatar hangjun83

openapi 1.1

parent 9ca798d2
...@@ -105,7 +105,10 @@ class RhawnOrdersService ...@@ -105,7 +105,10 @@ class RhawnOrdersService
$orderItems['weight'],$requestParams['so_ca_province'],$orderItems['total'],$customer['cus_free_express'],$customer['cus_level'] $orderItems['weight'],$requestParams['so_ca_province'],$orderItems['total'],$customer['cus_free_express'],$customer['cus_level']
); );
//判断是偶发 $order = $this->rhawnOrdersService->rhawnSorderRepository->getSorderFromOrderCusPo($requestParams['so_cus_po']);
if($order){
throw new \Exception('不能重复创建新订单!',500);
}
$data = []; $data = [];
$data['sorders']['cus_id'] = $customer['cus_id']; $data['sorders']['cus_id'] = $customer['cus_id'];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment