@ -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;
}