|
|
@@ -1,12 +1,8 @@
|
|
|
package com.ruoyi.front.controller;
|
|
|
|
|
|
-import com.alibaba.fastjson.JSONObject;
|
|
|
-import com.fasterxml.jackson.core.JsonParser;
|
|
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
-import com.ruoyi.common.core.utils.StringUtils;
|
|
|
import com.ruoyi.common.core.web.domain.AjaxResult;
|
|
|
import com.ruoyi.front.service.impl.Kuaidi100Service;
|
|
|
-import com.ruoyi.system.service.ISysConfigService;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -32,8 +28,6 @@ public class Kd100Controller {
|
|
|
Kuaidi100Service kuaidi100Service;
|
|
|
@Autowired
|
|
|
RedisTemplate redisTemplate;
|
|
|
- @Autowired
|
|
|
- private ISysConfigService configService;
|
|
|
|
|
|
@GetMapping("/test") @PostMapping("/queryExpres")
|
|
|
public AjaxResult queryExpres(@RequestBody Map param) {
|
|
|
@@ -61,10 +55,4 @@ public class Kd100Controller {
|
|
|
|
|
|
|
|
|
}
|
|
|
-
|
|
|
- @GetMapping("/getContact")
|
|
|
- public AjaxResult getContact() {
|
|
|
- //通过系统参数rj.customer.service,获取客服电话
|
|
|
- return AjaxResult.success(configService.selectConfigByKey("rj.customer.service"));
|
|
|
- }
|
|
|
}
|