消息中心sdk,目前对接了短信,钉钉公告,钉钉oa审批
Go to file
renzhiyuan ca173e57c6 Fix FastHttpPost, update server URL, enhance paramset and tests 2025-04-09 20:59:29 +08:00
cache first push 2025-03-07 16:52:29 +08:00
httpclient Fix FastHttpPost, update server URL, enhance paramset and tests 2025-04-09 20:51:51 +08:00
protoc Fix FastHttpPost, update server URL, enhance paramset and tests 2025-04-09 20:59:29 +08:00
test Fix FastHttpPost, update server URL, enhance paramset and tests 2025-04-09 20:51:51 +08:00
README.md first push 2025-03-07 16:52:29 +08:00
config.go Add RPC support and enhance MessageCenter with context 2025-04-09 19:48:03 +08:00
const.go Add RPC support and enhance MessageCenter with context 2025-04-09 19:48:03 +08:00
go.mod Add RPC support and enhance MessageCenter with context 2025-04-09 19:48:03 +08:00
msg.go Add RPC support and enhance MessageCenter with context 2025-04-09 19:48:03 +08:00
option.go Add RPC support and enhance MessageCenter with context 2025-04-09 19:48:03 +08:00
paramset.go Fix FastHttpPost, update server URL, enhance paramset and tests 2025-04-09 20:51:51 +08:00

README.md

安装

$ go get  gitea.cdlsxd.cn/self-tools/l_msg_api

使用

	msg, err := l_msg_api.NewMessageCenter(yourKey, yoursecret, ServerIndex, TempIndex)
    if err != nil {
    panic(err)
    }
    //短信
    res, err := msg.SendSms([]string{"15082245122"}, `{"content": "测试"}`)