修改参数
This commit is contained in:
		| @@ -3,7 +3,10 @@ package com.stdiet.web.controller.custom; | ||||
| import com.stdiet.common.core.controller.BaseController; | ||||
| import com.stdiet.custom.service.ISysWxService; | ||||
| import org.springframework.beans.factory.annotation.Autowired; | ||||
| import org.springframework.web.bind.annotation.*; | ||||
| import org.springframework.web.bind.annotation.GetMapping; | ||||
| import org.springframework.web.bind.annotation.RequestMapping; | ||||
| import org.springframework.web.bind.annotation.RequestParam; | ||||
| import org.springframework.web.bind.annotation.RestController; | ||||
|  | ||||
| @RestController | ||||
| @RequestMapping("/wx") | ||||
| @@ -13,8 +16,8 @@ public class CusWxController extends BaseController { | ||||
|     public ISysWxService sysWxService; | ||||
|  | ||||
|     @GetMapping("/checkSign") | ||||
|     public boolean wxCheckAuth(@RequestParam String signature, @RequestParam String timestamp, @RequestParam String nonce) { | ||||
|         return sysWxService.wxCheckAuth(signature, timestamp, nonce); | ||||
|     public String wxCheckAuth(@RequestParam String signature, @RequestParam String timestamp, @RequestParam String nonce, @RequestParam String echostr) { | ||||
|         return sysWxService.wxCheckAuth(signature, timestamp, nonce, echostr); | ||||
|     } | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user