1234567891011121314151617181920212223 |
- package com.ruixuan.isc.controller;
- import com.alibaba.fastjson.JSONObject;
- import com.ruixuan.isc.service.IKwaiJSTService;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.GetMapping;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- @RestController
- @RequestMapping("/kwaixiaodian/jst")
- public class KwaiJSTController {
- @Autowired
- private IKwaiJSTService kwaiJSTService;
- @GetMapping(value = "/refreshToken")
- public JSONObject refreshToken() {
- return kwaiJSTService.refreshToken();
- }
- }
|