12345678910111213141516171819202122232425262728293031 |
- package com.fdkankan.tk.controller;
- import com.fdkankan.tk.common.ResultData;
- import com.fdkankan.tk.service.ITencentYunService;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.*;
- /**
- * <p>
- * 前端控制器
- * </p>
- *
- * @author
- * @since 2022-09-27
- */
- @RestController
- @RequestMapping("/tencentYun")
- public class TencentYunController {
- @Autowired
- ITencentYunService tencentYunService;
- @GetMapping("/getSign")
- public ResultData getSign(@RequestParam(required = false) String userId){
- return ResultData.ok(tencentYunService.getSign(userId));
- }
- }
|