|
@@ -22,6 +22,11 @@ class User extends BaseController {
|
|
if (empty($channelId)){
|
|
if (empty($channelId)){
|
|
throw new ApiException('渠道id不为空');
|
|
throw new ApiException('渠道id不为空');
|
|
}
|
|
}
|
|
|
|
+ var_dump(input());
|
|
|
|
+ die();
|
|
|
|
+ if (empty(input('unionid'))){
|
|
|
|
+ throw new ApiException('unionid不为空');
|
|
|
|
+ }
|
|
$params = [
|
|
$params = [
|
|
'id' => $channelId,
|
|
'id' => $channelId,
|
|
'userid' => input('unionid'),
|
|
'userid' => input('unionid'),
|