|
|
@@ -22,7 +22,7 @@ import com.goafanti.patent.service.PatentInfoService;
|
|
|
import com.goafanti.user.service.UserService;
|
|
|
|
|
|
@Controller
|
|
|
-@RequestMapping("/open/preview")
|
|
|
+@RequestMapping("/open/")
|
|
|
public class PreviewController extends BaseApiController {
|
|
|
|
|
|
@Resource
|
|
|
@@ -33,7 +33,7 @@ public class PreviewController extends BaseApiController {
|
|
|
@Value(value = "${aesSecretKey}")
|
|
|
private String secretKey = null;
|
|
|
|
|
|
- @RequestMapping(value = "/template", method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/preview", method = RequestMethod.GET)
|
|
|
public Result preview(HttpServletResponse response, String sign, String temp, String token, String auth) {
|
|
|
Result res = new Result();
|
|
|
if (!StringUtils.isNumeric(temp)) {
|