修改--修改实名认证接口
This commit is contained in:
parent
02bf9d62c7
commit
2ea4703bd9
@ -22,7 +22,8 @@ class GetToken {
|
||||
MediaType mediaType = MediaType.parse("application/json");
|
||||
RequestBody body = RequestBody.create(mediaType, "");
|
||||
Request request = new Request.Builder()
|
||||
.url("https://aip.baidubce.com/oauth/2.0/token?client_id=G1HsVOPNZhQTe1TyPCPz30kg&client_secret=zKrNsDNe9uEMQLpD5zXzXO4CVwT3spEH&grant_type=client_credentials")
|
||||
.url("https://aip.baidubce.com/oauth/2.0/token?client_id=mcR5bjlzOvAF3YpCuebQBXTi&client_secret=drJ8JctSa61goBUS5bWyfWnz5C2OsszE&grant_type=client_credentials")
|
||||
// .url("https://aip.baidubce.com/oauth/2.0/token?client_id=G1HsVOPNZhQTe1TyPCPz30kg&client_secret=zKrNsDNe9uEMQLpD5zXzXO4CVwT3spEH&grant_type=client_credentials")
|
||||
.method("POST", body)
|
||||
.addHeader("Content-Type", "application/json")
|
||||
.addHeader("Accept", "application/json")
|
||||
|
||||
@ -232,7 +232,7 @@ public class SysAppUserController {
|
||||
public AjaxResult getSOnlineTime(){
|
||||
|
||||
LocalDate now = LocalDate.now();
|
||||
LocalDate startDate = now.minusDays(8);
|
||||
LocalDate startDate = now.minusDays(7);
|
||||
LocalDate endDate = now.minusDays(1);
|
||||
|
||||
// 实际要用的返回方法
|
||||
@ -260,7 +260,7 @@ public class SysAppUserController {
|
||||
public AjaxResult getThOnlineTime(){
|
||||
|
||||
LocalDate now = LocalDate.now();
|
||||
LocalDate startDate = now.minusDays(31);
|
||||
LocalDate startDate = now.minusDays(30);
|
||||
LocalDate endDate = now.minusDays(1);
|
||||
|
||||
// 实际要用的返回方法, 根据起止时间决定返回内容
|
||||
|
||||
Loading…
Reference in New Issue
Block a user