shengyang000 лет назад: 5
Родитель
Сommit
7390e45da1

+ 0 - 44
src/main/java/com/unissoft/controller/TestController.java

@@ -1,44 +0,0 @@
1
-package com.unissoft.controller;
2
-
3
-import com.unissoft.result.ResultView;
4
-import io.swagger.annotations.ApiOperation;
5
-import org.springframework.beans.factory.annotation.Value;
6
-import org.springframework.web.bind.annotation.GetMapping;
7
-import org.springframework.web.bind.annotation.RequestMapping;
8
-import org.springframework.web.bind.annotation.RestController;
9
-
10
-
11
-@RestController
12
-@RequestMapping("/test")
13
-public class TestController {
14
-
15
-//	@Autowired
16
-//	private PublishService publishService;
17
-
18
-	@Value("${ymllocation}")
19
-	private String ymllocation;
20
-
21
-	@Value("${ymlconfig}")
22
-	private String ymlconfig;
23
-
24
-	@ApiOperation(value = "测试yml", notes = "")
25
-	@GetMapping("/authority_button/testYmllocation")
26
-	public ResultView testRedisPublish() {
27
-		return ResultView.success(ymllocation + "-----" + ymlconfig);
28
-	}
29
-
30
-//	@ApiOperation(value = "测试Redis发布", notes = "")
31
-//	@GetMapping("/authority_button/testRedisPublish")
32
-//	public ResultView testRedisPublish() {
33
-//		MessageVO vo = new MessageVO();
34
-//		vo.setTitle("aaa");
35
-//		vo.setContent("测试");
36
-//		vo.setFromUserId(1);
37
-//		vo.setToUserId(5);
38
-//		vo.setType(10);
39
-//
40
-//		publishService.publish(GrainConstant.MQ_MSG_CHANNEL, vo);
41
-//		return ResultView.success();
42
-//	}
43
-
44
-}

+ 1 - 1
src/main/resources/bootstrap.yml

@@ -23,6 +23,6 @@ spring:
23 23
         enabled: true
24 24
         service-id: csc-szls-config  # 注册中心的服务名
25 25
       profile: dev  # 指定配置文件的环境
26
-      label: master
26
+      label: develop # 分支 master
27 27
 
28 28
 ymllocation: csc-szls-message-inner