1
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package weixinapi
|
||||
|
||||
import "git.rosy.net.cn/baseapi/utils"
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
)
|
||||
|
||||
const (
|
||||
MaxRemarkByteCount = 30
|
||||
@@ -90,6 +93,8 @@ func (a *API) CBMessageTemplateSend(userOpenID, templateID, downloadURL string,
|
||||
if miniProgram != nil {
|
||||
bodyJson["miniprogram"] = miniProgram
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("cgi-bin/message/template/send======================= : %s", utils.Format4Output(bodyJson, false))
|
||||
_, err = a.AccessAPI("cgi-bin/message/template/send", nil, string(utils.MustMarshal(bodyJson)))
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user