|
|
@@ -30,6 +30,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
@@ -96,6 +97,10 @@ public class WxController {
|
|
|
if(result.getCode()!=200){
|
|
|
return new Result<>(StatusCode.ACCESS_ERR,result.getMessage());
|
|
|
}
|
|
|
+ SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
+ old.setLastLoginTime(new Date(sdf.format(old.getLastLoginTime())));
|
|
|
+ old.setRegistryTime(new Date(sdf.format(old.getRegistryTime())));
|
|
|
+ //调用风控服务校验默认风控配置
|
|
|
return Result.resultOk(RepMessage.LOGIN_SUCCESS, old);
|
|
|
}
|
|
|
|