正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -472,7 +472,7 @@ class Wechat extends Api | @@ -472,7 +472,7 @@ class Wechat extends Api | ||
| 472 | $order_info = Db::name('verification_order')->where(['id'=>$order_id])->find(); | 472 | $order_info = Db::name('verification_order')->where(['id'=>$order_id])->find(); |
| 473 | $store = Db::name('verification_store')->where(['id'=>$order_info['verification_store_id']])->find(); | 473 | $store = Db::name('verification_store')->where(['id'=>$order_info['verification_store_id']])->find(); |
| 474 | //获取门店下的礼品券 | 474 | //获取门店下的礼品券 |
| 475 | - if(empty($store['verification_coupon_id'])){ | 475 | + if(!empty($store['verification_coupon_id'])){ |
| 476 | $coupon = Db::name('verification_coupon')->where(['id'=>$store['verification_coupon_id']])->find(); | 476 | $coupon = Db::name('verification_coupon')->where(['id'=>$store['verification_coupon_id']])->find(); |
| 477 | //发送给pid用户 | 477 | //发送给pid用户 |
| 478 | $save = []; | 478 | $save = []; |
-
请 注册 或 登录 后发表评论