This commit is contained in:
richboo111
2024-01-23 18:29:49 +08:00
parent 881fcd90a8
commit 4755c7ed9b

View File

@@ -277,6 +277,9 @@ func PushMsgByCid(vendorStoreID string, vendorID int, msg string) error {
// SetMessageDetail 赋值
//格式 AppID:AppPoiCode:1:OpenUserID
func SetMessageDetail(req *JXMsg, vendorID int, elmAppID string) error {
if req == nil {
return nil
}
//生成京西消息ID detail
msgID := GenMsgDetailID(req, vendorID, elmAppID)
data, _ := json.Marshal(req)