This commit is contained in:
test_service 2023-12-08 17:22:14 +08:00
commit 9b7db2a692

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