|
il y a 3 ans | |
---|---|---|
.vscode | il y a 3 ans | |
.gitignore | il y a 3 ans | |
README.md | il y a 3 ans | |
go.mod | il y a 3 ans | |
go.sum | il y a 3 ans | |
help.go | il y a 3 ans | |
help.html | il y a 3 ans | |
main.go | il y a 3 ans | |
sms.go | il y a 3 ans | |
template.yml | il y a 3 ans | |
utils.go | il y a 3 ans |
一定要 CMD 执行, 不要 powershell
set CGO_ENABLED=0
set GOOS=linux
set GOARCH=amd64
go build -o bootstrap
使用 linux
zip bootstrap.zip bootstrap help.html
使用 windows
fun deploy
POST /sms
Body 数据如下: (JSON)
{
"PhoneNumbers": "17714208769",
"SignName": "云致科技",
"TemplateCode": "SMS_207555188",
"TemplateParam": "{\"code\":\"1234\"}"
}