diff --git a/app/api/controller/food/User.php b/app/api/controller/food/User.php index 1f908ca..5dcb9f1 100644 --- a/app/api/controller/food/User.php +++ b/app/api/controller/food/User.php @@ -143,7 +143,7 @@ class User extends Controller if (isset($post['openid'])) { $where['openid'] = $post['openid']; } - + $data = Db::name('food_coupon_user_wx')->where($where)->select(); return $this->renderSuccess($data, '成功'); } @@ -223,7 +223,7 @@ class User extends Controller if (!empty($coupon_id)) { //优惠券详情 - $url = 'https://app.cxhxy.h5.dev.1nww.com/#/pages/details/details?openid=' . $openid . '&coupon_id=' . $coupon_id; + $url = 'https://app.cxhxy.h5.dev.1nww.com/#/pages/details/details?coupon_id=' . $coupon_id; } else { //优惠券列表 $url = 'https://app.cxhxy.h5.dev.1nww.com/#/?openid=' . $openid;