Merge branch 'master' of http://app.git.1nww.com:8188/gitlab-instance-db4ab2e7/cxhxy
This commit is contained in:
commit
95504153b0
@ -135,11 +135,14 @@ class User extends Controller
|
|||||||
public function getWxUserCoupon()
|
public function getWxUserCoupon()
|
||||||
{
|
{
|
||||||
$post = $_GET;
|
$post = $_GET;
|
||||||
$where = [];
|
|
||||||
if (!empty($post['openid'])) {
|
if (empty($post['openid'])) {
|
||||||
$where['openid'] = $post['openid'];
|
return $this->renderError('openid错误');
|
||||||
$openid = $post['openid'];
|
|
||||||
}
|
}
|
||||||
|
$where = [];
|
||||||
|
$where['openid'] = $post['openid'];
|
||||||
|
$openid = $post['openid'];
|
||||||
|
|
||||||
if (!empty($post['coupon_id'])) {
|
if (!empty($post['coupon_id'])) {
|
||||||
$where['coupon_user_id'] = $post['coupon_id'];
|
$where['coupon_user_id'] = $post['coupon_id'];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user