feat: 群晖token

This commit is contained in:
裴浩宇 2024-05-27 19:03:17 +08:00
parent 868d1f136a
commit aae8851a86
2 changed files with 3 additions and 8 deletions

View File

@ -20,11 +20,6 @@ import com.pnkx.system.service.ISysUserService;
import net.sf.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpEntity;
import org.springframework.http.ResponseEntity;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.client.RestTemplate;
import org.springframework.web.util.UriComponentsBuilder;

View File

@ -149,7 +149,7 @@ public class SysUser extends BaseEntity {
@Getter
private IpLocation location;
private String SynoToken;
private String synoToken;
public SysUser() {
@ -348,11 +348,11 @@ public class SysUser extends BaseEntity {
}
public String getSynoToken() {
return SynoToken;
return synoToken;
}
public void setSynoToken(String synoToken) {
SynoToken = synoToken;
this.synoToken = synoToken;
}
@Override