This commit is contained in:
尖叫 2023-12-08 17:21:54 +08:00
parent 1ac6d61217
commit c2001f8e97

View File

@ -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'];