16 changed files with 588 additions and 277 deletions
Split View
Diff Options
-
18android/app/buildSystem/app.csr
-
BINassets/images/phone_help.png
-
BINassets/images/realname_help.png
-
145lib/controller/discover/visitor_controller.dart
-
42lib/controller/mine/mine_controller.dart
-
37lib/controller/mine/my_friend_controller.dart
-
75lib/model/discover/visitor_model.dart
-
84lib/model/mine/friend_apply_data.dart
-
21lib/model/mine/user_count_data.dart
-
7lib/network/api_urls.dart
-
21lib/network/user_api.dart
-
115lib/network/user_api.g.dart
-
113lib/pages/discover/visitor_list_page.dart
-
37lib/pages/mine/mine_page.dart
-
149lib/pages/mine/my_friend_page.dart
-
1lib/pages/mine/user_help_center_page.dart
@ -0,0 +1,18 @@ |
|||
-----BEGIN NEW CERTIFICATE REQUEST----- |
|||
MIIC5jCCAc4CAQAwcTELMAkGA1UEBhMCQ04xEjAQBgNVBAgTCUd1YW5nRG9uZzES |
|||
MBAGA1UEBxMJR3VhbmdaaG91MREwDwYDVQQKEwhxaWFubmlhbzERMA8GA1UECxMI |
|||
cWlhbm5pYW8xFDASBgNVBAMTC1ppeGlhbiBXYW5nMIIBIjANBgkqhkiG9w0BAQEF |
|||
AAOCAQ8AMIIBCgKCAQEAwCCPny8YpxenB+FZNznW03ayd/5coNlLq/z/oTID555l |
|||
5x4AVLlo5rqL/ruI6nnlESkbqD1eYABUREdT0aCgVQU4Sfau/L92VW3yfkU2y1Hd |
|||
lWDSjVcZuXnQSkWUprU5mVuZD/0InD8J/Z0NcAdIhkMcSLGzkBKqDDXsFk4vQTd6 |
|||
6ENVrH/A8aTBT81XuE6PMfDHcCE4XAcYxvg4hE85Y9Co/FHaqRG6EqrRPFldcUEr |
|||
7qeaJzLWBCcvB5zofH4+WN8n4G2GMtBB946OJqIQp1LSP4hQRPie9cRz1PTRi+ak |
|||
rDdNZzWWQyiOO4rj14gDKGjC4ob8i/HWjJNN9qk/KwIDAQABoDAwLgYJKoZIhvcN |
|||
AQkOMSEwHzAdBgNVHQ4EFgQUs/+W5dulka5xzTy7PkbYMrT77D8wDQYJKoZIhvcN |
|||
AQELBQADggEBALFq8m21l/UpyYEcehKUf+b5y5F9GGXb4Q4xNgxW1hbnF0BMYX/M |
|||
2PhoEyZyX/S39MlwtICGprstSszUIYugq1gX5fRj+MrgrOCfZ4cPrR9Fm2F0Oee2 |
|||
DMJcTIaXu5dcqL0YaHCEIKhyJY9ZCAZza4J4FhoAaSgW5UCc4xtMSQTcRhGPJm9p |
|||
a8lT5PiADh0MY0cQ8gWElI91lSdrKssnWbcAOCAxgQ0sHm2W1ZiFIzxKsSg49TTa |
|||
BVCgun+Vthww7bw2eiSwSYFilevu5payKvw7ns4f3ruLtBYLhMk+qDnld4L5CECb |
|||
R4toQ//F/XCU242bNzjIMOpQIap/LpdHs0M= |
|||
-----END NEW CERTIFICATE REQUEST----- |
|||
@ -1,75 +0,0 @@ |
|||
class VisitorModel { |
|||
final String? miId; |
|||
final String? profilePhoto; |
|||
final String? nickName; |
|||
final int? height; |
|||
final String? visitTime; |
|||
final String? education; |
|||
final int? age; |
|||
final int? minimumIncome; |
|||
final int? maximumIncome; |
|||
final String? income; |
|||
final String? describeInfo; |
|||
final int? vip; |
|||
final int? miSessionType; |
|||
final int? genderCode; |
|||
final int? onlineStatus; |
|||
|
|||
VisitorModel({ |
|||
this.miId, |
|||
this.profilePhoto, |
|||
this.nickName, |
|||
this.height, |
|||
this.visitTime, |
|||
this.education, |
|||
this.age, |
|||
this.minimumIncome, |
|||
this.maximumIncome, |
|||
this.income, |
|||
this.describeInfo, |
|||
this.vip, |
|||
this.miSessionType, |
|||
this.genderCode, |
|||
this.onlineStatus, |
|||
}); |
|||
|
|||
factory VisitorModel.fromJson(Map<String, dynamic> json) { |
|||
return VisitorModel( |
|||
miId: json['miId'] as String?, |
|||
profilePhoto: json['profilePhoto'] as String?, |
|||
nickName: json['nickName'] as String?, |
|||
height: json['height'] as int?, |
|||
visitTime: json['visitTime'] as String?, |
|||
education: json['education'] as String?, |
|||
age: json['age'] as int?, |
|||
minimumIncome: json['minimumIncome'] as int?, |
|||
maximumIncome: json['maximumIncome'] as int?, |
|||
income: json['income'] as String?, |
|||
describeInfo: json['describeInfo'] as String?, |
|||
vip: json['vip'] as int?, |
|||
miSessionType: json['miSessionType'] as int?, |
|||
genderCode: json['genderCode'] as int?, |
|||
onlineStatus: json['onlineStatus'] as int?, |
|||
); |
|||
} |
|||
|
|||
Map<String, dynamic> toJson() { |
|||
return { |
|||
'miId': miId, |
|||
'profilePhoto': profilePhoto, |
|||
'nickName': nickName, |
|||
'height': height, |
|||
'visitTime': visitTime, |
|||
'education': education, |
|||
'age': age, |
|||
'minimumIncome': minimumIncome, |
|||
'maximumIncome': maximumIncome, |
|||
'income': income, |
|||
'describeInfo': describeInfo, |
|||
'vip': vip, |
|||
'miSessionType': miSessionType, |
|||
'genderCode': genderCode, |
|||
'onlineStatus': onlineStatus, |
|||
}; |
|||
} |
|||
} |
|||
@ -0,0 +1,84 @@ |
|||
class FriendApplyData { |
|||
List<Records>? records; |
|||
int? total; |
|||
int? size; |
|||
int? current; |
|||
int? pages; |
|||
|
|||
FriendApplyData( |
|||
{this.records, this.total, this.size, this.current, this.pages}); |
|||
|
|||
FriendApplyData.fromJson(Map<String, dynamic> json) { |
|||
if (json['records'] != null) { |
|||
records = <Records>[]; |
|||
json['records'].forEach((v) { |
|||
records!.add(new Records.fromJson(v)); |
|||
}); |
|||
} |
|||
total = json['total']; |
|||
size = json['size']; |
|||
current = json['current']; |
|||
pages = json['pages']; |
|||
} |
|||
|
|||
Map<String, dynamic> toJson() { |
|||
final Map<String, dynamic> data = new Map<String, dynamic>(); |
|||
if (this.records != null) { |
|||
data['records'] = this.records!.map((v) => v.toJson()).toList(); |
|||
} |
|||
data['total'] = this.total; |
|||
data['size'] = this.size; |
|||
data['current'] = this.current; |
|||
data['pages'] = this.pages; |
|||
return data; |
|||
} |
|||
} |
|||
|
|||
class Records { |
|||
String? id; |
|||
String? toUserId; |
|||
String? toMiId; |
|||
int? toUId; |
|||
String? toNickName; |
|||
String? toProfilePhoto; |
|||
int? toGenderCode; |
|||
Null? applyMsg; |
|||
int? status; |
|||
|
|||
Records( |
|||
{this.id, |
|||
this.toUserId, |
|||
this.toMiId, |
|||
this.toUId, |
|||
this.toNickName, |
|||
this.toProfilePhoto, |
|||
this.toGenderCode, |
|||
this.applyMsg, |
|||
this.status}); |
|||
|
|||
Records.fromJson(Map<String, dynamic> json) { |
|||
id = json['id']; |
|||
toUserId = json['toUserId']; |
|||
toMiId = json['toMiId']; |
|||
toUId = json['toUId']; |
|||
toNickName = json['toNickName']; |
|||
toProfilePhoto = json['toProfilePhoto']; |
|||
toGenderCode = json['toGenderCode']; |
|||
applyMsg = json['applyMsg']; |
|||
status = json['status']; |
|||
} |
|||
|
|||
Map<String, dynamic> toJson() { |
|||
final Map<String, dynamic> data = new Map<String, dynamic>(); |
|||
data['id'] = this.id; |
|||
data['toUserId'] = this.toUserId; |
|||
data['toMiId'] = this.toMiId; |
|||
data['toUId'] = this.toUId; |
|||
data['toNickName'] = this.toNickName; |
|||
data['toProfilePhoto'] = this.toProfilePhoto; |
|||
data['toGenderCode'] = this.toGenderCode; |
|||
data['applyMsg'] = this.applyMsg; |
|||
data['status'] = this.status; |
|||
return data; |
|||
} |
|||
} |
|||
@ -0,0 +1,21 @@ |
|||
class UserCountData { |
|||
int? friendNum; |
|||
int? friendApplyNum; |
|||
int? visitorNum; |
|||
|
|||
UserCountData({this.friendNum, this.friendApplyNum, this.visitorNum}); |
|||
|
|||
UserCountData.fromJson(Map<String, dynamic> json) { |
|||
friendNum = json['friendNum']; |
|||
friendApplyNum = json['friendApplyNum']; |
|||
visitorNum = json['visitorNum']; |
|||
} |
|||
|
|||
Map<String, dynamic> toJson() { |
|||
final Map<String, dynamic> data = new Map<String, dynamic>(); |
|||
data['friendNum'] = this.friendNum; |
|||
data['friendApplyNum'] = this.friendApplyNum; |
|||
data['visitorNum'] = this.visitorNum; |
|||
return data; |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save