Merge branch 'cc_20250513_franchise_report' into cc_2250513_api
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package com.cool.store.controller.webb;
|
||||
|
||||
import com.cool.store.request.FranchiseReportRequest;
|
||||
import com.cool.store.response.FranchiseReportResponse;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.FranchiseReportService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author: WangShuo
|
||||
* @Date: 2025/05/13/15:46
|
||||
* @Version 1.0
|
||||
* @注释:
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/pc/franchiseReport")
|
||||
@Api(tags = "PC端加盟报表")
|
||||
public class PCFranchiseReportController {
|
||||
@Resource
|
||||
private FranchiseReportService franchiseReportService;
|
||||
|
||||
@RequestMapping("/getList")
|
||||
@ApiOperation("正新鸡排开店")
|
||||
public ResponseResult<List<FranchiseReportResponse>> getList(@RequestBody FranchiseReportRequest request) {
|
||||
return ResponseResult.success( franchiseReportService.getFranchiseReport(request));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user