ky 5 years ago
parent db8e5abeb4
commit ff5b43dbdb

@ -7,7 +7,7 @@
<groupId>yhjd</groupId>
<artifactId>yhjd</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>war</packaging>
<packaging>jar</packaging>
<name>yhjd</name>

@ -28,8 +28,6 @@ public class MissonController {
@Autowired
MissonServiceImpl missonService;
private final WxMpService wxService;
@PostMapping("/addMisson")
@ApiOperation(value = "增加misson", notes = "增加misson")
@ResponseBody

@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.*;
@Slf4j
@AllArgsConstructor
@RestController
@RequestMapping("/wx/portal/")
@RequestMapping("/wx/portal/{appid}")
public class WxPortalController {
private final WxMpService wxService;
private final WxMpMessageRouter messageRouter;
@ -34,7 +34,7 @@ public class WxPortalController {
}
if (!this.wxService.switchover(appid)) {
throw new IllegalArgumentException(String.format("未找到对应appid=wx44742933fc151c65的配置,请核实!", appid));
throw new IllegalArgumentException(String.format("未找到对应appid=[%s]的配置,请核实!", appid));
}
if (wxService.checkSignature(timestamp, nonce, signature)) {

Loading…
Cancel
Save