whyclxw
2021-04-15 b40ac12d6231f261581fb4281c905819530e934d
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
26
27
28
29
30
31
32
33
34
35
36
package com.example.lxw.controller;
 
import com.example.lxw.pojo.ServiceModel;
import com.example.lxw.service.User_infService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * @author lxw
 * @create 2021-04-13 16:46
 */
@Api(tags = "用户管理")
@RestController
@RequestMapping("User_inf")
public class User_infController {
    @Autowired
    private User_infService user_infService;
 
    @PutMapping("selectList")
    @ApiOperation(value = "查询所有的用户")
    public ServiceModel selectList(){
        ServiceModel model=user_infService.selectList();
        return model;
    }
    @PutMapping("searchByBaojiUsr")
    @ApiOperation(value = "查询所有用户的包机组信息")
    public ServiceModel searchByBaojiUsr(){
        ServiceModel model=user_infService.searchByBaojiUsr();
        return model;
    }
 
}