下单并生成主单
This commit is contained in:
parent
157c937423
commit
2f08e0be4d
|
|
@ -16,6 +16,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
|
@ -48,6 +49,7 @@ public class OrderController extends BaseController {
|
|||
|
||||
|
||||
@PostMapping("/server/app")
|
||||
@ResponseBody
|
||||
public AjaxResult appOrder(AppOrderRequest appOrderRequest){
|
||||
// 校验用户信息
|
||||
Customer customer = customerService.selectByCustomerId(appOrderRequest.getCustomerId());
|
||||
|
|
|
|||
Loading…
Reference in New Issue