记得上下班打卡 | git大法好,push需谨慎

Commit 70c4ca5a authored by 胡佳晨's avatar 胡佳晨

修改 task

parent 42b70b74
...@@ -53,6 +53,8 @@ liquidnet: ...@@ -53,6 +53,8 @@ liquidnet:
localUrl: http://devorder.zhengzai.tv/order/order/syncOrder localUrl: http://devorder.zhengzai.tv/order/order/syncOrder
url-service: url-service:
url: http://testservice.zhengzai.tv/ url: http://testservice.zhengzai.tv/
platform:
url: http://devplatform.zhengzai.tv
executor-main: executor-main:
xxl: xxl:
admin: admin:
...@@ -72,4 +74,4 @@ liquidnet: ...@@ -72,4 +74,4 @@ liquidnet:
sk: 21e9a70f677a2bf29dfa2b3bead4f018 sk: 21e9a70f677a2bf29dfa2b3bead4f018
appid: 557104628450889728 appid: 557104628450889728
custid: 7551234567 custid: 7551234567
#application-dev-end #application-dev-end
\ No newline at end of file
...@@ -50,6 +50,8 @@ liquidnet: ...@@ -50,6 +50,8 @@ liquidnet:
localUrl: http://testkylin.zhengzai.tv/kylin/order/syncOrder localUrl: http://testkylin.zhengzai.tv/kylin/order/syncOrder
url-service: url-service:
url: http://testservice.zhengzai.tv/ url: http://testservice.zhengzai.tv/
platform:
url: http://testplatform.zhengzai.tv
executor-main: executor-main:
xxl: xxl:
admin: admin:
...@@ -68,4 +70,4 @@ liquidnet: ...@@ -68,4 +70,4 @@ liquidnet:
url: "https://butler-dev-ms.sf-express.com" url: "https://butler-dev-ms.sf-express.com"
sk: 21e9a70f677a2bf29dfa2b3bead4f018 sk: 21e9a70f677a2bf29dfa2b3bead4f018
appid: 557104628450889728 appid: 557104628450889728
custid: 7551234567 custid: 7551234567
\ No newline at end of file
...@@ -21,3 +21,5 @@ liquidnet: ...@@ -21,3 +21,5 @@ liquidnet:
appname: liquidnet-service-executor appname: liquidnet-service-executor
# Job执行器运行日志,注意目录读写权限 # Job执行器运行日志,注意目录读写权限
logpath: /data/logs/job logpath: /data/logs/job
url:
paltform: ${liquidnet.service.platform.url}
...@@ -21,3 +21,5 @@ liquidnet: ...@@ -21,3 +21,5 @@ liquidnet:
appname: liquidnet-service-executor appname: liquidnet-service-executor
# Job执行器运行日志,注意目录读写权限 # Job执行器运行日志,注意目录读写权限
logpath: /data/logs/job logpath: /data/logs/job
url:
paltform: ${liquidnet.service.platform.url}
...@@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.PostMapping; ...@@ -9,6 +9,7 @@ import org.springframework.web.bind.annotation.PostMapping;
@Component @Component
@FeignClient(name = "liquidnet-service-platform", @FeignClient(name = "liquidnet-service-platform",
contextId = "FeignPlatformTaskClient", path = "", contextId = "FeignPlatformTaskClient", path = "",
url = "${liquidnet.url.platform}",
fallback = FallbackFactory.Default.class) fallback = FallbackFactory.Default.class)
public interface FeignPlatformTaskClient { public interface FeignPlatformTaskClient {
......
package com.liquidnet.service.executor.main.handler; package com.liquidnet.service.executor.main.handler;
import com.liquidnet.commons.lang.util.HttpUtil;
import com.liquidnet.service.feign.kylin.task.FeignPlatformTaskClient; import com.liquidnet.service.feign.kylin.task.FeignPlatformTaskClient;
import com.xxl.job.core.biz.model.ReturnT; import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob; import com.xxl.job.core.handler.annotation.XxlJob;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment