update path

hmxc
小赖 4 years ago
parent 599664d7e0
commit 3810e9ac04

@ -16,6 +16,9 @@ class UserInfoModel {
///
bool get canOperation => jurisdiction.contains(57);
///
bool get manager => canSendTicket && canPickUpTicket;
UserInfoModel({this.id, this.roleId, this.nickName, this.jurisdiction});
UserInfoModel.fromJson(Map<String, dynamic> json) {

@ -19,8 +19,7 @@ class ManageFunc {
///
static Future dispatchListDetailType() async {
Response response = await NetUtil().dio.get(
'http://test.akuhotel.com:8804/IntelligentCommunity' +
API.manage.dispatchListDetailType);
'${API.host}/IntelligentCommunity' + API.manage.dispatchListDetailType);
return response.data as List;
}

Loading…
Cancel
Save