From 73f14a0d727d9de4b80e7d383b0f37a40b79e77b Mon Sep 17 00:00:00 2001 From: zhaokai Date: Mon, 15 Jun 2026 16:14:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(config):=20=E6=9B=B4=E6=96=B0=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start/src/main/resources/bootstrap.yml | 3 +- start/src/main/resources/sdk-prod-gwj.yml | 72 +++++++++++++++++++++++ 2 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 start/src/main/resources/sdk-prod-gwj.yml diff --git a/start/src/main/resources/bootstrap.yml b/start/src/main/resources/bootstrap.yml index c1f3602..ec451cc 100644 --- a/start/src/main/resources/bootstrap.yml +++ b/start/src/main/resources/bootstrap.yml @@ -4,5 +4,6 @@ spring: # - classpath:nacos.yml # - classpath:sdk.yml - classpath:nacos-prod.yml - - classpath:sdk-prod.yml +# - classpath:sdk-prod.yml + - classpath:sdk-prod-gwj.yml - classpath:swagger.yml diff --git a/start/src/main/resources/sdk-prod-gwj.yml b/start/src/main/resources/sdk-prod-gwj.yml new file mode 100644 index 0000000..48efa33 --- /dev/null +++ b/start/src/main/resources/sdk-prod-gwj.yml @@ -0,0 +1,72 @@ +sdk: + server: + app-key: 65c2f7b35a6140309980a066dff1c972 + client: + gateway: + url: ${common.gateway.network.http.external} + route: + - client: + system-code: ${application.name} + name: ${application.cn-name}-后端 + group-code: public_api + service: + system-code: ${application.name} + name: ${application.cn-name}-后端 + group-code: public_api + strip-prefix: 0 + uri: http://${application.name} + path: /${application.gateway}/** + - client: + system-code: ${application.name}-container + name: ${application.cn-name}-前端 + group-code: public_api + service: + system-code: ${application.name}-container + name: ${application.cn-name}-前端 + group-code: public_api + strip-prefix: 0 + uri: http://jjb-saas-base + path: /${application.gateway}/container/** + order: -2 +openapi: + appId: 1871106785124999168 + appKey: 7314ecfc11ff4d5fad1ac19284ed2ac3 + appSecret: 7565ab15-a2ae-4830-9b4d-fb382cd5fb30 + appPublicKey: 3059301306072a8648ce3d020106082a811ccf5501822d03420004f339671110a06681fcfd968ad9247bd3cd0d2ec6b2159d1d4b775e7ed5566b3297d82cf14b626ef11fdd6bc7ecb6bcfb3ea94ccd1f381f4116f43367be4b360f + appPrivateKey: 308193020100301306072a8648ce3d020106082a811ccf5501822d0479307702010104206b6abc8e717b7d042f1e8531190a7c18113e4a701417f2770d2150d33ba97779a00a06082a811ccf5501822da14403420004f339671110a06681fcfd968ad9247bd3cd0d2ec6b2159d1d4b775e7ed5566b3297d82cf14b626ef11fdd6bc7ecb6bcfb3ea94ccd1f381f4116f43367be4b360f + encryptType: SM2 + platform: + - name: default + openPublicKey: 3059301306072a8648ce3d020106082a811ccf5501822d034200045b5d8fcad91e113910406db4caf0f5c6688048e0f46742d55f872a25855316803ddb177cc9bb5906ff0b2ad4d6b1f1378a49109104613e79b5b5512e3710e88f + url: ${common.gateway.network.http.intranet} + protocol: HTTP + defaultPlatform: true + ##ciphertext plaintext + type: plaintext + apiPlatform: + - name: default + #多个可以逗号隔开 + apiCode: test:01 + #多个可以逗号隔开,可以为空 + tenantIds: 1838408702262321152 + + sm2: + #数港使用 + public-key: MFkwEwYHKoZIzj0CAQYIKoEcz1UBgi0DQgAEm4xoDwZ6heM0jzHGNHrAQXCaOs0bwx5N/NzOA/oGyrvmTPhkBcm+dIAhCDxEIGERjRMKfKR/IygkgW8K4SDRrA== + private-key: MIGTAgEAMBMGByqGSM49AgEGCCqBHM9VAYItBHkwdwIBAQQgHnH3HOprVgU8ipdM6Mxp5Oyx87BlHva96f2CVCkVOBygCgYIKoEcz1UBgi2hRANCAASbjGgPBnqF4zSPMcY0esBBcJo6zRvDHk383M4D+gbKu+ZM+GQFyb50gCEIPEQgYRGNEwp8pH8jKCSBbwrhINGs + +sg: + enabled: true + url: http://10.168.11.13:8080/ +# url: http://safety.ngrok.shebaocard.com/ + token_url: /admin/login + reference_url: /safety/experience/receive + supervise_url: /safety/superviseInfo/feedback + duty_url: /safety/statistics/receiveDutyStatistics + calendar_url: /safety/safetyCalendar/receive + accident_url: /safety/accidentReport/receive + levelxgf_url: safety/firstRelevantParty/receive + supervise_offline_url: safety/superviseInfo/offline/feedback +message: + code: + forward: MS000116 \ No newline at end of file