Commit 0ddc273f authored by hj's avatar hj

更新提交

parent a6a0acc3
......@@ -182,14 +182,15 @@ class OrdersController extends Controller
* @MediaType(
* mediaType="application/json",
* @Schema(
* required={"soCusPo", "soCaName","soCaMobile","soCaPhone","soCaProvince","soCaCity","soCaStreet","soNote","items"},
* @Property(property="soCusPo", @Schema(type="string"),description="客户编号"),
* required={"soCusPo", "soCaName","soCaMobile","soCaPhone","soCaProvince","soCaCity","soCaStreet","soCaCounty","soNote","items"},
* @Property(property="soCusPo", @Schema(type="string"),description="客户订单编号"),
* @Property(property="soCaName", @Schema(type="string"),description="收货人"),
* @Property(property="soCaMobile", @Schema(type="string"),description="收货人手机"),
* @Property(property="soCaPhone", @Schema(type="string"),description="收货人电话"),
* @Property(property="soCaProvince", @Schema(type="string"),description="收货人省份"),
* @Property(property="soCaCity", @Schema(type="string"),description="收货人城市"),
* @Property(property="soCaStreet", @Schema(type="string"),description="收货人区县"),
* @Property(property="soCaStreet", @Schema(type="string"),description="收货人街道"),
* @Property(property="soCaCounty", @Schema(type="string"),description="收货人区县"),
* @Property(property="soNote", @Schema(type="string"),description="备注"),
* @Property(property="items", type="array",
* @OA\items(
......@@ -271,7 +272,7 @@ class OrdersController extends Controller
}
return Response::success($orderDetail,'操作成功');
}catch(\Throwable $exception){
return Response::fail('生成订单失败');
return Response::fail('生成订单失败. '. $exception->getMessage());
//return $this->returnErrorExecptionResponse($exception,'生成订单失败');
}
}
......
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