完善了订单接口
This commit is contained in:
parent
9de330f739
commit
8573181ba6
|
@ -95,6 +95,7 @@ public class OrderController {
|
|||
* @return 是否创建成功
|
||||
*/
|
||||
@PostMapping("/add")
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public BaseResponse<Boolean> addOrder(@RequestBody OrderAddRequest orderAddRequest) {
|
||||
if (orderAddRequest == null) {
|
||||
throw new BusinessException(ErrorCode.PARAMS_ERROR);
|
||||
|
|
Loading…
Reference in New Issue
Block a user