mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
package com.panzhihua.service_community.api;
 
import com.panzhihua.common.model.vos.R;
import com.panzhihua.service_community.service.ComActMicroWishOperationRecordService;
import com.panzhihua.service_community.service.ComActMicroWishService;
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;
 
import javax.annotation.Resource;
 
/**
 * @auther lyq
 * @create 2021-08-27 10:28:04
 * @describe 前端控制器
 */
@RestController
@RequestMapping("/comActMicroWishOperationRecord")
public class ComActMicroWishOperationRecordApi {
    @Resource
    private ComActMicroWishOperationRecordService comActMicroWishOperationRecordService;
 
    /**
     * 根据心愿id查询操作记录
     * @param id
     * @return
     */
    @GetMapping("/getByWishId")
    public R getByWishId(@RequestParam("id") Long id){
        return comActMicroWishOperationRecordService.getByWishId(id);
    }
}