version:1.4
update:2021-10-21 10:14:40 fix: add:增加浏览器桌面检测升级,修复重复请求
This commit is contained in:
34
app/src/main/java/com/aoleyun/sn/bean/PoweroffBean.java
Normal file
34
app/src/main/java/com/aoleyun/sn/bean/PoweroffBean.java
Normal file
@@ -0,0 +1,34 @@
|
||||
package com.aoleyun.sn.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class PoweroffBean implements Serializable {
|
||||
private static final long serialVersionUID = -6776658368686072345L;
|
||||
int id;
|
||||
int type;
|
||||
String time;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public void setTime(String time) {
|
||||
this.time = time;
|
||||
}
|
||||
}
|
||||
35
app/src/main/java/com/aoleyun/sn/bean/RemoteDebug.java
Normal file
35
app/src/main/java/com/aoleyun/sn/bean/RemoteDebug.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package com.aoleyun.sn.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class RemoteDebug implements Serializable {
|
||||
private static final long serialVersionUID = 6251851514703694946L;
|
||||
|
||||
String app_package;
|
||||
String content;
|
||||
int type;
|
||||
|
||||
public String getApp_package() {
|
||||
return app_package;
|
||||
}
|
||||
|
||||
public void setApp_package(String app_package) {
|
||||
this.app_package = app_package;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
}
|
||||
58
app/src/main/java/com/aoleyun/sn/bean/SnRunLog.java
Normal file
58
app/src/main/java/com/aoleyun/sn/bean/SnRunLog.java
Normal file
@@ -0,0 +1,58 @@
|
||||
package com.aoleyun.sn.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class SnRunLog implements Serializable {
|
||||
private static final long serialVersionUID = 7780957878619252035L;
|
||||
|
||||
int id;
|
||||
//开始时间
|
||||
long start_time;
|
||||
//持续时间
|
||||
long duration;
|
||||
//文件大小
|
||||
int file_max_size;
|
||||
//上传成功之后是否删除文件
|
||||
int is_clear;
|
||||
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public long getStart_time() {
|
||||
return start_time;
|
||||
}
|
||||
|
||||
public void setStart_time(long start_time) {
|
||||
this.start_time = start_time;
|
||||
}
|
||||
|
||||
public long getDuration() {
|
||||
return duration;
|
||||
}
|
||||
|
||||
public void setDuration(long duration) {
|
||||
this.duration = duration;
|
||||
}
|
||||
|
||||
public int getFile_max_size() {
|
||||
return file_max_size;
|
||||
}
|
||||
|
||||
public void setFile_max_size(int file_max_size) {
|
||||
this.file_max_size = file_max_size;
|
||||
}
|
||||
|
||||
public int getIs_clear() {
|
||||
return is_clear;
|
||||
}
|
||||
|
||||
public void setIs_clear(int is_clear) {
|
||||
this.is_clear = is_clear;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,10 @@
|
||||
package com.aoleyun.sn.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class StudentsInfo implements Serializable {
|
||||
@@ -11,7 +16,7 @@ public class StudentsInfo implements Serializable {
|
||||
private String realname;
|
||||
private String classes;
|
||||
private int admin_id;
|
||||
|
||||
String head_img;
|
||||
|
||||
public String getBatch() {
|
||||
return batch;
|
||||
@@ -52,4 +57,18 @@ public class StudentsInfo implements Serializable {
|
||||
public void setAdmin_id(int admin_id) {
|
||||
this.admin_id = admin_id;
|
||||
}
|
||||
|
||||
public String getHead_img() {
|
||||
return head_img;
|
||||
}
|
||||
|
||||
public void setHead_img(String head_img) {
|
||||
this.head_img = head_img;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,8 +14,9 @@ public class UploadAppInfo implements Serializable {
|
||||
private String install_time;
|
||||
private String versionCode;
|
||||
private int state;
|
||||
// private int id;
|
||||
// private int id;
|
||||
String versionName;
|
||||
String app_size;
|
||||
|
||||
public String getPackage_name() {
|
||||
return package_name;
|
||||
@@ -73,6 +74,14 @@ public class UploadAppInfo implements Serializable {
|
||||
this.versionName = versionName;
|
||||
}
|
||||
|
||||
public String getApp_size() {
|
||||
return app_size;
|
||||
}
|
||||
|
||||
public void setApp_size(String app_size) {
|
||||
this.app_size = app_size;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
|
||||
52
app/src/main/java/com/aoleyun/sn/bean/WiFiAlias.java
Normal file
52
app/src/main/java/com/aoleyun/sn/bean/WiFiAlias.java
Normal file
@@ -0,0 +1,52 @@
|
||||
package com.aoleyun.sn.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author : fanhuitong
|
||||
* e-mail :
|
||||
* @date : 2021/10/26 10:09
|
||||
* desc :
|
||||
* version: 1.0
|
||||
*/
|
||||
public class WiFiAlias implements Serializable {
|
||||
private static final long serialVersionUID = 5635003554729670707L;
|
||||
|
||||
private String wifi_name;
|
||||
private String password;
|
||||
|
||||
public String getWifi_name() {
|
||||
return wifi_name;
|
||||
}
|
||||
|
||||
public void setWifi_name(String wifi_name) {
|
||||
this.wifi_name = wifi_name;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return wifi_name + ":" + password;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
if (obj instanceof WiFiAlias) {
|
||||
WiFiAlias alias = (WiFiAlias) obj;
|
||||
return wifi_name.equals(alias.wifi_name) && password.equals(alias.password);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user