ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package jnpf.permission.controller;
 
import io.swagger.v3.oas.annotations.tags.Tag;
import jnpf.permission.SignApi;
import jnpf.permission.entity.SignEntity;
import jnpf.permission.service.SignService;
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.RequestParam;
import org.springframework.web.bind.annotation.RestController;
 
@Tag(name = "个人签名", description = "Sign")
@RestController
@RequestMapping("/Sign")
public class SignController implements SignApi {
    @Autowired
    private SignService signService;
 
    @Override
    @GetMapping("/getDefaultByUserId")
    public SignEntity getDefaultByUserId(@RequestParam("id") String id) {
        return signService.getDefaultByUserId(id);
    }
}