注册用户,新增用户配置

This commit is contained in:
2023-09-25 11:32:32 +08:00
parent 77dd5c9331
commit 9b096e0060
3 changed files with 82 additions and 41 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ class Account extends Base
$path = $this->config['base_url'] . $this->version . "/im_open_login_svc/account_import?" . $this->buildRequestParams();
return $this->postRequest($path,$options);
}catch (\Exception $e) {
}catch (\Throwable $e) {
throw new BusinessException($e->getMessage(), HttpEnumCode::SERVER_ERROR);
}
}
@@ -74,7 +74,7 @@ class Account extends Base
}
return true;
}catch (\Exception $e) {
}catch (\Throwable $e) {
throw new BusinessException($e->getMessage(), HttpEnumCode::SERVER_ERROR);
}
}