消息中心sdk,目前对接了短信,钉钉公告,钉钉oa审批
Go to file
renzhiyuan 5c982fb266 Refactor and optimize MessageCenter, add paramset.go 2025-03-26 17:59:15 +08:00
cache first push 2025-03-07 16:52:29 +08:00
httpclient Refactor and optimize MessageCenter, add paramset.go 2025-03-26 10:42:34 +08:00
test Refactor and optimize MessageCenter, add paramset.go 2025-03-26 17:59:15 +08:00
README.md first push 2025-03-07 16:52:29 +08:00
config.go Refactor and optimize MessageCenter, add paramset.go 2025-03-26 17:59:15 +08:00
const.go Refactor and optimize MessageCenter, add paramset.go 2025-03-26 17:59:15 +08:00
go.mod Refactor and optimize MessageCenter, add paramset.go 2025-03-26 10:46:25 +08:00
msg.go Refactor and optimize MessageCenter, add paramset.go 2025-03-26 17:59:15 +08:00
paramset.go Refactor and optimize MessageCenter, add paramset.go 2025-03-26 17:59:15 +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": "测试"}`)