Commit fdfca8588f0a329f17bb3500274d5d07ed35c62f
1 parent
26ee50de
fix:【mall】分销用户创建时,缺少对 bindUserId 的校验
Showing
1 changed file
with
1 additions
and
0 deletions
yudao-module-mall/yudao-module-trade/src/main/java/cn/iocoder/yudao/module/trade/controller/admin/brokerage/vo/user/BrokerageUserCreateReqVO.java
| @@ -13,6 +13,7 @@ public class BrokerageUserCreateReqVO { | @@ -13,6 +13,7 @@ public class BrokerageUserCreateReqVO { | ||
| 13 | private Long userId; | 13 | private Long userId; |
| 14 | 14 | ||
| 15 | @Schema(description = "推广员编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "4587") | 15 | @Schema(description = "推广员编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "4587") |
| 16 | + @NotNull(message = "推广员编号不能为空") | ||
| 16 | private Long bindUserId; | 17 | private Long bindUserId; |
| 17 | 18 | ||
| 18 | } | 19 | } |