|
|
|
|
@ -43,7 +43,10 @@ class ChatProviderModel with ChangeNotifier, DiagnosticableTreeMixin {
|
|
|
|
|
Future<void> getUserAutoLoginToken(BuildContext cxt) async {
|
|
|
|
|
Response response = await ApiClient().postJsonForResponse(
|
|
|
|
|
"${ApiConsts.chatServerBaseApiUrl}user/externaluserlogin",
|
|
|
|
|
{"employeeNumber": AppState().memberInformationList!.eMPLOYEENUMBER.toString(), "password": "FxIu26rWIKoF8n6mpbOmAjDLphzFGmpG"},
|
|
|
|
|
{
|
|
|
|
|
"employeeNumber": AppState().memberInformationList!.eMPLOYEENUMBER.toString(),
|
|
|
|
|
"password": "FxIu26rWIKoF8n6mpbOmAjDLphzFGmpG",
|
|
|
|
|
},
|
|
|
|
|
);
|
|
|
|
|
login.UserAutoLoginModel userLoginResponse = login.userAutoLoginModelFromJson(
|
|
|
|
|
response.body,
|
|
|
|
|
|