fix
Helius
2021-08-12 4705f9b4084d9ccddb601569b223f0fb41778a94
zq-erp/src/main/java/com/matrix/system/app/action/ApiVipLabelAction.java
@@ -42,7 +42,7 @@
        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;
@@ -53,6 +53,7 @@
    @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());