whycrzg
2021-02-23 351b9a53cb9ecebdf8f79db0117f540d9c42c2a4
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
package com.fgkj.controller;
 
import com.fgkj.util.*;
 
import com.fgkj.dto.ServiceModel;
import com.fgkj.dto.User_sms;
import com.fgkj.services.User_smsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
 
import javax.annotation.Resource;
 
@RequestMapping("userSms")
@RestController
@Api(tags = "userSms接口")
public class UserSmsController{
    @Resource
    private User_smsService service;
 
    //4.9短信息查询
    @PostMapping("byCondition")
    @ApiOperation(notes = "{ \"uId\": 0, \"sms_send_date\": \"2015-09-01 00:00:00\", \"sms_send_date1\": \"2021-01-13 08:18:04\", \"sms_state\": 0, \"pageBean\": { \"pageSize\": 1, \"pageNum\": 1 } }",value="短信息查询")
    public ServiceModel serchByCondition(@RequestBody User_sms us){
        ServiceModel model=service.serchByCondition(us);
        return model;
    }
 
}