1
This commit is contained in:
parent
1ac6d61217
commit
c2001f8e97
@ -136,9 +136,8 @@ class User extends Controller
|
||||
{
|
||||
$post = $_GET;
|
||||
|
||||
if (empty($post['openid'])) {
|
||||
return $this->renderError('openid错误');
|
||||
|
||||
if (empty($post['openid']) || empty($post['coupon_id'])) {
|
||||
return $this->renderSuccess([], '成功');
|
||||
}
|
||||
$where = [];
|
||||
$where['openid'] = $post['openid'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user