admin
2020-07-03 651a15c78f668bef3859d9ed1bb7ad0b669d3600
fanli/src/main/java/com/yeshi/fanli/controller/h5/H5S618Controller.java
@@ -4,6 +4,8 @@
import javax.annotation.Resource;
import com.yeshi.fanli.entity.SystemEnum;
import com.yeshi.fanli.service.inter.user.UserInfoService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.yeshi.utils.JsonUtil;
@@ -34,10 +36,12 @@
   @Resource
   private ConfigService configService;
    @Resource
    private UserInfoService userInfoService;
   /**
    * 获取超级红包分享口令
    * 
    * @param acceptData
    * @param uid
    * @param out
    */
@@ -85,7 +89,9 @@
         return;
      }
      String desc = configService.get(ConfigKeyEnum.superHongBaoShareDesc.getKey());
        SystemEnum system = userInfoService.getUserSystem(uid);
        String desc = configService.getValue(ConfigKeyEnum.superHongBaoShareDesc.getKey(), system);
      desc = desc.replace("[淘口令]", TaoBaoUtil.filterTaoToken(token));
      try {
         out.print(JsonUtil.loadJSONP(callback, JsonUtil.loadTrueResult(StringUtil.getBase64String(desc))));
@@ -139,7 +145,8 @@
         return;
      }
      String desc = configService.get(ConfigKeyEnum.superYuShouShareDesc.getKey());
        SystemEnum system = userInfoService.getUserSystem(uid);
        String desc = configService.getValue(ConfigKeyEnum.superYuShouShareDesc.getKey(), system);
      desc = desc.replace("[淘口令]", TaoBaoUtil.filterTaoToken(token));
      try {
         out.print(JsonUtil.loadJSONP(callback, JsonUtil.loadTrueResult(StringUtil.getBase64String(desc))));