|
@@ -1,6 +1,5 @@
|
|
package com.fdkk.sxz.webApi.controller;
|
|
package com.fdkk.sxz.webApi.controller;
|
|
|
|
|
|
-import com.alibaba.fastjson.JSON;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.fdkk.sxz.annotation.auth.NoAuthentication;
|
|
import com.fdkk.sxz.annotation.auth.NoAuthentication;
|
|
import com.fdkk.sxz.annotation.log.AroundLog;
|
|
import com.fdkk.sxz.annotation.log.AroundLog;
|
|
@@ -17,7 +16,10 @@ import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.amqp.rabbit.core.RabbitTemplate;
|
|
import org.springframework.amqp.rabbit.core.RabbitTemplate;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import java.util.HashMap;
|
|
import java.util.HashMap;
|
|
@@ -64,7 +66,7 @@ public class SceneController extends BaseController {
|
|
Map<String, String> header = new HashMap<>();
|
|
Map<String, String> header = new HashMap<>();
|
|
header.put("token", request.getHeader("token"));
|
|
header.put("token", request.getHeader("token"));
|
|
|
|
|
|
- return OkHttpUtils.httpPostJson(mainUrl + "api/user/scene/list", data.toJSONString(), header);
|
|
|
|
|
|
+ return OkHttpUtils.httpPostJson(mainUrl + "api/decorate/scene/list", data.toJSONString(), header);
|
|
}
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/sendMsg", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/sendMsg", method = RequestMethod.GET)
|