|
@@ -268,7 +268,7 @@ func GetMerchantCanvasCard(c *gin.Context) {
|
|
|
|
|
|
//返回邀请码
|
|
//返回邀请码
|
|
|
|
|
|
- if inData.Code == "yuanshima" { //可以分享
|
|
|
|
|
|
+ if inData.Code == "yuanshima" { //可以分享 code 等于自己的与yuanshima的都给平台
|
|
outData.IsShare = true
|
|
outData.IsShare = true
|
|
outData.InvitationCode = "yuanshima"
|
|
outData.InvitationCode = "yuanshima"
|
|
} else { //查询购买记录,没有购买过不让分享
|
|
} else { //查询购买记录,没有购买过不让分享
|