Commit a34d2c46 by mushishixian

fix

parent 0815ac0f
Showing with 1 additions and 1 deletions
...@@ -111,7 +111,7 @@ func main() { ...@@ -111,7 +111,7 @@ func main() {
goodsUrl = mainUrl + "/item/" + goodsIdStr + ".html" goodsUrl = mainUrl + "/item/" + goodsIdStr + ".html"
} }
//如果库存大于0,就去通知用户 //如果库存大于0,就去通知用户
if stock > 0 && stock > moq { if stock > 0 && stock >= moq {
//通知完成以后就修改这条记录 //通知完成以后就修改这条记录
goodsName := data.Get("goods_name").String() goodsName := data.Get("goods_name").String()
content := "您关注的商品型号" + goodsName + "已经到货,快去购买吧。链接 : " + goodsUrl content := "您关注的商品型号" + goodsName + "已经到货,快去购买吧。链接 : " + goodsUrl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment