|
@@ -404,8 +404,8 @@ class Auth extends BaseController {
|
|
|
}
|
|
|
$data['id'] = $ep->id;
|
|
|
if ($ep->special == 0) {
|
|
|
- if ($ep->type == 1) {
|
|
|
- if ($ep->agencyType == 1) {
|
|
|
+ if ($data["type"] == 1) {
|
|
|
+ if ($data["agencyType"] == 1) {
|
|
|
validate(\app\common\validate\Enterprise::class)->batch(true)->scene('change')->check($data);
|
|
|
if (!$data["domainImg"] && !$ep->domainImg) {
|
|
|
$response_object->code = 500;
|