Commit 48f42ef8 authored by shiyu's avatar shiyu

首页新增折扣商品5

parent d9480af2
......@@ -36,8 +36,7 @@ public class DistributionOrderController {
public Result createDistributionOrder(@RequestBody DistributionOrderRequestDto dto) {
logger.info("分销单下单,请求参数:{}", JSON.toJSONString(dto));
Validator validator = new Validator(FormHandler.ofEntity(dto));
validator.set("shareRecordId", "分销分享记录id").must().string()
.set("buyerId", "买方id").must().number()
validator.set("buyerId", "买方id").must().number()
.set("buyerOpenid", "买方微信openid").must().string()
.end();
if (!validator.isValid()) {
......
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