admin
2020-02-18 ddf5db7d31af51fcf697eac0cee7dd46ff73bcc1
fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/UserAccountController.java
@@ -64,6 +64,7 @@
import com.yeshi.fanli.util.account.UserUtil;
import com.yeshi.fanli.vo.user.UserVipRateVO;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
@Controller("WXMPUserAccountController")
@@ -587,11 +588,11 @@
      JSONObject data = new JSONObject();
      data.put("info", gson.toJson(vo));
      data.put("welfare", userVipConfigService.getValueByKey("vip_welfare"));
      data.put("welfare",JSONArray.fromObject( userVipConfigService.getValueByKey("vip_welfare")));
      if (!StringUtil.isNullOrEmpty(callback)) {
         out.print(JsonUtil.loadJSONP(callback, JsonUtil.loadTrueResult(gson.toJson(vo))));
         out.print(JsonUtil.loadJSONP(callback, JsonUtil.loadTrueResult(data)));
      } else {
         out.print(JsonUtil.loadTrueResult(gson.toJson(vo)));
         out.print(JsonUtil.loadTrueResult(gson.toJson(data)));
      }
   }