|
@@ -41,6 +41,9 @@ public class GroupController {
|
|
|
|
|
|
@RequestMapping(method = RequestMethod.POST)
|
|
@RequestMapping(method = RequestMethod.POST)
|
|
public APIResult<GroupVo> create(@Valid @RequestBody GroupDTO groupDTO) {
|
|
public APIResult<GroupVo> create(@Valid @RequestBody GroupDTO groupDTO) {
|
|
|
|
+ // 转大写
|
|
|
|
+ String code = groupDTO.getCode();
|
|
|
|
+ groupDTO.setCode(code.toUpperCase());
|
|
APIResult<GroupVo> groupVoAPIResult = groupService.create(groupDTO);
|
|
APIResult<GroupVo> groupVoAPIResult = groupService.create(groupDTO);
|
|
if (groupVoAPIResult.getSuccess()) {
|
|
if (groupVoAPIResult.getSuccess()) {
|
|
merchantInfoSetService.setMerchantInfo(groupVoAPIResult.getData());
|
|
merchantInfoSetService.setMerchantInfo(groupVoAPIResult.getData());
|