|
@@ -6,6 +6,7 @@ import com.fdkankan.tk.httpClient.client.FdKKClient;
|
|
import com.fdkankan.tk.request.SceneParam;
|
|
import com.fdkankan.tk.request.SceneParam;
|
|
import com.fdkankan.tk.service.ISceneService;
|
|
import com.fdkankan.tk.service.ISceneService;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.web.bind.annotation.CrossOrigin;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -15,6 +16,7 @@ import javax.annotation.Resource;
|
|
/**
|
|
/**
|
|
* 场景数据
|
|
* 场景数据
|
|
*/
|
|
*/
|
|
|
|
+@CrossOrigin
|
|
@RestController
|
|
@RestController
|
|
public class SceneController extends BaseController {
|
|
public class SceneController extends BaseController {
|
|
|
|
|