luo
2023-10-08 ded7b20c06c16646a1f718c32a78e463844da6da
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.dsh.course.feignClient.other;
 
import com.dsh.course.dto.StudentSearch;
import com.dsh.course.dto.TStudentDto;
import com.dsh.course.feignClient.other.model.Banner;
import com.dsh.guns.modular.system.model.*;
import com.dsh.guns.modular.system.model.dto.BallQueryDto;
import com.dsh.guns.modular.system.model.dto.BookingQuery;
import io.swagger.models.auth.In;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
 
@FeignClient(value = "mb-cloud-other")
public interface BallClient {
 
    @PostMapping("/student/webStudentList")
    List<Game> list(@RequestBody BallQueryDto ballQueryDto);
    @PostMapping("/save")
    Integer save(@RequestBody Game game);
    @PostMapping("/saveConfig")
    void saveConfig(@RequestBody List<TGameConfig> gameConfigList);
    @PostMapping("/queryGame")
    Game queryGame(@RequestParam("id") Integer id);
    @PostMapping("/listorder")
    List<Map<String, Object>> listorder(@RequestBody BookingQuery bookingQuery);
}