This commit is contained in:
yangduo 2025-01-14 11:13:44 +08:00
parent bca8f6ca3a
commit 855b9d4e99
2 changed files with 6 additions and 1 deletions

View File

@ -14,6 +14,6 @@
"appsecret": "148509437b331acd15580b279e8511af",
"zoneid": "1",
"offerid": "1450318181",
"notifyurl": "https://game2004api-test.kingsome.cn/index.php"
"notifyurl": "https://game2004api-test.kingsome.cn/6001/index.php"
}
]

View File

@ -182,6 +182,11 @@ func (this *MainServiceApi) WxNotifyPurchase(c *gin.Context) {
return
}
if orderModel.ItemId != q5.SafeToInt32(payloadobj.GoodsInfo.ProductId) {
c.JSON(200, rspObj)
return
}
if orderModel.Status > 1 {
rspObj.ErrorCode = 0
rspObj.ErrMsg = "Success"