| | |
| | |
|
| | | import org.springframework.stereotype.Controller;
|
| | | import org.springframework.web.bind.annotation.RequestMapping;
|
| | | import org.yeshi.utils.JsonUtil;
|
| | | import org.yeshi.utils.wx.WXUtil;
|
| | | import org.yeshi.utils.wx.XCXKeFuUtil;
|
| | |
|
| | | import com.yeshi.fanli.entity.system.CustomerContent;
|
| | | import com.yeshi.fanli.entity.xcx.XCXSettingConfig;
|
| | | import com.yeshi.fanli.log.LogHelper;
|
| | | import com.yeshi.fanli.service.inter.config.ConfigService;
|
| | | import com.yeshi.fanli.service.inter.config.CustomerContentService;
|
| | | import com.yeshi.fanli.service.inter.config.SystemClientParamsService;
|
| | | import com.yeshi.fanli.util.Constant;
|
| | | import com.yeshi.fanli.util.StringUtil;
|
| | | import org.yeshi.utils.JsonUtil;
|
| | | import org.yeshi.utils.wx.WXUtil;
|
| | | import org.yeshi.utils.wx.XCXKeFuUtil;
|
| | |
|
| | | import net.sf.json.JSONObject;
|
| | |
|
| | |
| | |
|
| | | @Resource
|
| | | private ConfigService configService;
|
| | | |
| | | @Resource
|
| | | private CustomerContentService customerContentService;
|
| | |
|
| | | /**
|
| | | *
|
| | |
| | | @RequestMapping("contactCustomerService")
|
| | | public void contactCustomerService(PrintWriter out) {
|
| | | String title = "联系客服";
|
| | | List<CustomerContent> contentList = systemClientParamsService.contactCustomerService(title);
|
| | | List<CustomerContent> contentList = customerContentService.contactCustomerService(title);
|
| | | JSONObject data = new JSONObject();
|
| | | data.put("contentList", JsonUtil.getSimpleGsonWithDate().toJson(contentList));
|
| | | out.print(JsonUtil.loadTrueResult(data));
|