feat: 登录接口修改
Build Windows / build (push) Has been cancelled
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Successful in 20m33s

This commit is contained in:
2025-11-21 01:24:44 -08:00
parent 91185a593a
commit 9123d5f0e4
3 changed files with 20 additions and 16 deletions
+3 -3
View File
@@ -7,16 +7,16 @@ class KRIsRegister {
KRIsRegister({this.kr_isRegister = false});
KRIsRegister.fromJson(Map<String, dynamic> json) {
kr_isRegister = json['Status'] == "true" || json['Status'] == true
kr_isRegister = json['exist'] == "true" || json['exist'] == true
? true
: false || json['status'] == "true" || json['status'] == true
: false || json['exist'] == "true" || json['exist'] == true
? true
: false;
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['Status'] = kr_isRegister;
data['exist'] = kr_isRegister;
return data;
}
}