| | |
| | | sysVipLabel.setUserId(getMe().getSuId()); |
| | | sysVipLabel.setLabel(labelDto.getLabel()); |
| | | List<SysVipLabel> userLabel = sysVipLabelDao.selectByModel(sysVipLabel); |
| | | AjaxResult ajaxResult = new AjaxResult(); |
| | | AjaxResult ajaxResult = AjaxResult.buildSuccessInstance("获取成功"); |
| | | ajaxResult.putInMap("allLabel", zbLabel); |
| | | ajaxResult.putInMap("myLabel", userLabel); |
| | | return ajaxResult; |
| | |
| | | @PostMapping(value = "/addLabel") |
| | | public AjaxResult addLabel(@RequestBody LabelDto labelDto) { |
| | | SysVipLabel sysVipLabel = new SysVipLabel(); |
| | | sysVipLabel.setCreateBy(getMe().getSuName()); |
| | | sysVipLabel.setLabel(labelDto.getLabel()); |
| | | sysVipLabel.setColor(labelDto.getColor()); |
| | | sysVipLabel.setShopId(getMe().getShopId()); |