|
|
@ -51,8 +51,7 @@ class _SystemDetails extends State<SystemDetails> { |
|
|
|
msgType = widget.arguments["msgType"]; |
|
|
|
msgType = widget.arguments["msgType"]; |
|
|
|
|
|
|
|
|
|
|
|
SharedPreferences.getInstance().then((value) { |
|
|
|
SharedPreferences.getInstance().then((value) { |
|
|
|
apiService = |
|
|
|
apiService = ApiService(Dio(), token: value.getString("token"),showLoading: true, context: context); |
|
|
|
ApiService(Dio(), token: value.getString("token"), context: context); |
|
|
|
|
|
|
|
queryMessage(); |
|
|
|
queryMessage(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|