|
@@ -353,18 +353,18 @@ S;
|
|
|
$goodsPrice = round($goodsData["goods_search_response"]["goods_list"][0]["min_group_price"]/100,2);
|
|
|
$couponPrice = round($goodsData["goods_search_response"]["goods_list"][0]["coupon_discount"]/100,2);
|
|
|
$afterCouponPrice = $goodsPrice-$couponPrice;
|
|
|
- $rebeatPrice = round($goodsData["goods_search_response"]["goods_list"][0]["promotion_rate"]*$afterCouponPrice/100000,2);
|
|
|
+ $rebeatPrice = round($goodsData["goods_search_response"]["goods_list"][0]["promotion_rate"]*$afterCouponPrice/1000,2);
|
|
|
$goodsTitle = $goodsData["goods_search_response"]["goods_list"][0]["goods_name"];
|
|
|
$msg = <<<S
|
|
|
- 【 $goodsTitle 】
|
|
|
- 【原价】:$goodsPrice 元
|
|
|
- 【优惠券】:$couponPrice 元
|
|
|
- 【券后价】:$afterCouponPrice 元
|
|
|
- 【返现金额】:$rebeatPrice
|
|
|
- -------------------------
|
|
|
- 点击链接购买:$url
|
|
|
- 具体返现金额,以实际支付金额为准
|
|
|
- -------------------------
|
|
|
+【 $goodsTitle 】
|
|
|
+【原价】:$goodsPrice 元
|
|
|
+【优惠券】:$couponPrice 元
|
|
|
+【券后价】:$afterCouponPrice 元
|
|
|
+【返现金额】:$rebeatPrice
|
|
|
+ -------------------------
|
|
|
+点击链接购买:$url
|
|
|
+具体返现金额,以实际支付金额为准
|
|
|
+-------------------------
|
|
|
S;
|
|
|
|
|
|
|