Class WeChatWorkRestNotification

java.lang.Object
com.bytedesk.wechat.work.WeChatWorkRestNotification

@RestController @RequestMapping("/wechat/work") public class WeChatWorkRestNotification extends Object
  • Constructor Details

    • WeChatWorkRestNotification

      public WeChatWorkRestNotification()
  • Method Details

    • oauthCallback

      @PostMapping("/web/command/{CORPID}/callback") public Object oauthCallback(@PathVariable("CORPID") String corpId, @RequestBody(required=false) String requestBody, @RequestParam("timestamp") String timestamp, @RequestParam("nonce") String nonce, @RequestParam(name="msg_signature",required=false) String msgSignature, jakarta.servlet.http.HttpSession session)
    • miniOauthCallback

      @PostMapping("/mini/command/{CORPID}/callback") public Object miniOauthCallback(@PathVariable("CORPID") String corpId, @RequestBody(required=false) String requestBody, @RequestParam("timestamp") String timestamp, @RequestParam("nonce") String nonce, @RequestParam(name="msg_signature",required=false) String msgSignature, jakarta.servlet.http.HttpSession session)