|
@@ -1,12 +1,15 @@
|
|
|
package com.template.api;
|
|
package com.template.api;
|
|
|
|
|
|
|
|
|
|
+import com.template.model.request.smartUserExportRequest;
|
|
|
import com.template.model.result.CommonResult;
|
|
import com.template.model.result.CommonResult;
|
|
|
import com.template.model.tongji.*;
|
|
import com.template.model.tongji.*;
|
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.ui.Model;
|
|
import org.springframework.ui.Model;
|
|
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
+import javax.servlet.http.HttpServletResponse;
|
|
|
import java.io.UnsupportedEncodingException;
|
|
import java.io.UnsupportedEncodingException;
|
|
|
import java.text.ParseException;
|
|
import java.text.ParseException;
|
|
|
|
|
|
|
@@ -114,4 +117,10 @@ public interface WechatScanLoginControllerAPI {
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
CommonResult getWechatPhone(String code);
|
|
CommonResult getWechatPhone(String code);
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ @GetMapping(value = "/checkToken")
|
|
|
|
|
+ @ApiOperation(value = "校验token", notes = "校验token", httpMethod = "GET")
|
|
|
|
|
+ @ResponseBody
|
|
|
|
|
+ CommonResult checkToken(@RequestParam String token);
|
|
|
|
|
+
|
|
|
}
|
|
}
|