From 59cdb37bf59c8b968427f23be91149aa32ccc7b3 Mon Sep 17 00:00:00 2001 From: liwei Date: Mon, 27 Nov 2023 14:17:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/build_linux.sh | 11 +---------- bin/start.sh | 10 +--------- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/bin/build_linux.sh b/bin/build_linux.sh index 6a332e7e7..80af2ebd3 100755 --- a/bin/build_linux.sh +++ b/bin/build_linux.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash -ilex GO_ENABLED=0 GO111MODULE=on GOOS=linux @@ -7,12 +7,3 @@ go build -o ./bin/cmd ./services/cmd/main.go go build -o ./bin/mainte ./services/mainte/main.go go build -o ./bin/gateway ./services/gateway/main.go go build -o ./bin/worker ./services/worker/main.go -curl -XPOST -s -L 'https://oapi.dingtalk.com/robot/send?access_token=5ae6b8eacb8f065c6b6c8211febaf024a4179652b82c4c2ad59a8878cecee5e4' -H 'Content-Type: application/json' -H "charset:utf-8" -d '{"msgtype": "text", - -"text": { - -"content": "服务构建完成" - - } - -}' diff --git a/bin/start.sh b/bin/start.sh index 4d3220801..177743f05 100755 --- a/bin/start.sh +++ b/bin/start.sh @@ -1,13 +1,5 @@ #!/bin/sh -curl -XPOST -s -L 'https://oapi.dingtalk.com/robot/send?access_token=5ae6b8eacb8f065c6b6c8211febaf024a4179652b82c4c2ad59a8878cecee5e4' -H 'Content-Type: application/json' -H "charset:utf-8" -d '{"msgtype": "text", - -"text": { - -"content": " 服务正在启动" - - } - -}' +curl -XPOST -s -L ' curl -XPOST -s -L 'https://oapi.dingtalk.com/robot/send?access_token=e15fc4f867d6b83336eb720f70d0fb66de1dab49da944f33478d8e619f35c2ac' -H 'Content-Type: application/json' -H "charset:utf-8" -d '{"msgtype": "text", "text": {