正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -503,8 +503,8 @@ class Wechat extends Api | @@ -503,8 +503,8 @@ class Wechat extends Api | ||
| 503 | $save['verification_store_id'] = $v['verification_store_id']; | 503 | $save['verification_store_id'] = $v['verification_store_id']; |
| 504 | $save['user_id'] = $pid; | 504 | $save['user_id'] = $pid; |
| 505 | //用户是否已经领取该门店的券 | 505 | //用户是否已经领取该门店的券 |
| 506 | - $r = Db::name('verification_receive')->where($save)->find(); | ||
| 507 | - if(empty($r)){ | 506 | + //$r = Db::name('verification_receive')->where($save)->find(); |
| 507 | + //if(empty($r)){ | ||
| 508 | $save['type'] = 0;//使用情况 | 508 | $save['type'] = 0;//使用情况 |
| 509 | $save['closetime'] = $v['closetime']; | 509 | $save['closetime'] = $v['closetime']; |
| 510 | $save['receive_no'] = $time.uniqid(); | 510 | $save['receive_no'] = $time.uniqid(); |
| @@ -514,7 +514,7 @@ class Wechat extends Api | @@ -514,7 +514,7 @@ class Wechat extends Api | ||
| 514 | $save['verification_order_id'] = $order_id; | 514 | $save['verification_order_id'] = $order_id; |
| 515 | $save['coupon_type'] = $v['type']; | 515 | $save['coupon_type'] = $v['type']; |
| 516 | Db::name('verification_receive')->insert($save); | 516 | Db::name('verification_receive')->insert($save); |
| 517 | - } | 517 | + //} |
| 518 | } | 518 | } |
| 519 | } | 519 | } |
| 520 | } | 520 | } |
-
请 注册 或 登录 后发表评论