1
This commit is contained in:
parent
4c8b8df824
commit
ec07b83762
@ -143,7 +143,7 @@ class User extends Controller
|
|||||||
if (isset($post['openid'])) {
|
if (isset($post['openid'])) {
|
||||||
$where['openid'] = $post['openid'];
|
$where['openid'] = $post['openid'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = Db::name('food_coupon_user_wx')->where($where)->select();
|
$data = Db::name('food_coupon_user_wx')->where($where)->select();
|
||||||
return $this->renderSuccess($data, '成功');
|
return $this->renderSuccess($data, '成功');
|
||||||
}
|
}
|
||||||
@ -223,7 +223,7 @@ class User extends Controller
|
|||||||
|
|
||||||
if (!empty($coupon_id)) {
|
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 {
|
} else {
|
||||||
//优惠券列表
|
//优惠券列表
|
||||||
$url = 'https://app.cxhxy.h5.dev.1nww.com/#/?openid=' . $openid;
|
$url = 'https://app.cxhxy.h5.dev.1nww.com/#/?openid=' . $openid;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user