KwaiJSTController.java 657 B

1234567891011121314151617181920212223
  1. package com.ruixuan.isc.controller;
  2. import com.alibaba.fastjson.JSONObject;
  3. import com.ruixuan.isc.service.IKwaiJSTService;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.web.bind.annotation.GetMapping;
  6. import org.springframework.web.bind.annotation.RequestMapping;
  7. import org.springframework.web.bind.annotation.RestController;
  8. @RestController
  9. @RequestMapping("/kwaixiaodian/jst")
  10. public class KwaiJSTController {
  11. @Autowired
  12. private IKwaiJSTService kwaiJSTService;
  13. @GetMapping(value = "/refreshToken")
  14. public JSONObject refreshToken() {
  15. return kwaiJSTService.refreshToken();
  16. }
  17. }