- change all msg to miniprogram.

This commit is contained in:
gazebo
2019-01-22 14:52:43 +08:00
parent a051912b20
commit 1bd26ec1fb

View File

@@ -115,9 +115,9 @@ func SendMsgToStore(storeID int, templateID, downloadURL, miniPageURL string, da
successCount := 0
for _, openID := range openIDs {
realMiniPageURL := miniPageURL
if testMiniProgramStoreMap[storeID] == 0 && debugOpenIDMap[openID] == 0 {
realMiniPageURL = ""
}
// if testMiniProgramStoreMap[storeID] == 0 && debugOpenIDMap[openID] == 0 {
// realMiniPageURL = ""
// }
globals.SugarLogger.Debugf("SendMsgToStore storeID:%d, openID:%s, templateID:%s, downloadURL:%s, realMiniPageURL:%s", storeID, openID, templateID, downloadURL, realMiniPageURL)
if err2 := SmartMessageTemplateSend(openID, templateID, downloadURL, realMiniPageURL, data); err2 == nil {
successCount++