1234567891011121314151617181920212223 |
- package com.ygj.yuemum.controller.wxmini;
- import com.ygj.yuemum.domain.wxmini.WXMktInfo;
- import com.ygj.yuemum.service.wxmini.WXMktInfoService;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.GetMapping;
- import org.springframework.web.bind.annotation.RequestParam;
- import org.springframework.web.bind.annotation.RestController;
- import java.util.List;
- @RestController
- public class WXMktInfoController {
- @Autowired
- private WXMktInfoService mktInfoService;
- @GetMapping("/getMktInfos")
- public List<WXMktInfo> getMktInfos(@RequestParam("mi_branche_code") Integer mi_branche_code) {
- List<WXMktInfo> mktInfos = mktInfoService.getMktInfos(mi_branche_code);
- return mktInfos;
- }
- }
|