修改参数
This commit is contained in:
		| @@ -3,10 +3,7 @@ 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.GetMapping; | ||||
| import org.springframework.web.bind.annotation.PathVariable; | ||||
| import org.springframework.web.bind.annotation.RequestMapping; | ||||
| import org.springframework.web.bind.annotation.RestController; | ||||
| import org.springframework.web.bind.annotation.*; | ||||
|  | ||||
| @RestController | ||||
| @RequestMapping("/wx") | ||||
| @@ -16,7 +13,7 @@ public class CusWxController extends BaseController { | ||||
|     public ISysWxService sysWxService; | ||||
|  | ||||
|     @GetMapping("/checkSign") | ||||
|     public boolean wxCheckAuth(@PathVariable String signature, @PathVariable String timestamp, @PathVariable String nonce) { | ||||
|     public boolean wxCheckAuth(@RequestParam String signature, @RequestParam String timestamp, @RequestParam String nonce) { | ||||
|         return sysWxService.wxCheckAuth(signature, timestamp, nonce); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user