futian.liu
2023-11-08 4ee56e307915e4e71baab476be819e7642e78269
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
37
38
39
40
41
42
43
44
45
46
47
package com.consum.base.controller;
 
import com.consum.base.BaseController;
import com.walker.web.ResponseValue;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * @author asus
 * @version 1.0
 * @description: 物品分发单
 * @date 2023/11/2 15:49 dep_form_lending
 * TODO
 */
@RestController
@RequestMapping("/pc/dep/from/lending")
public class DepFormLendingController extends BaseController {
 
 
    /**
     * 添加数据
     *
     * @param id 数据ID
     * @return 添加结果
     */
    @PostMapping("/add")
    public ResponseValue add(String id) {
        // code for adding data
        return null;
    }
 
 
    @GetMapping("/list")
    public ResponseValue list() {
 
        return null;
    }
 
    @GetMapping("/{id}")
    public ResponseValue detail(@PathVariable String id) {
 
        return null;
    }
}