feat:支付
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package com.cool.store.controller.webb;
|
||||
|
||||
import com.cool.store.request.FranchiseFeeRequest;
|
||||
import com.cool.store.request.SubmitLicenseRequest;
|
||||
import com.cool.store.response.FranchiseFeeResponse;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.FranchiseFeeService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/pc/franchiseFee")
|
||||
@Api(tags = "PC加盟费/保证金")
|
||||
@Slf4j
|
||||
public class PCFranchiseFeeController {
|
||||
|
||||
|
||||
FranchiseFeeService franchiseFeeService;
|
||||
|
||||
@ApiOperation("基本信息提交")
|
||||
@PostMapping("/submit")
|
||||
public ResponseResult submitLicense(@RequestBody FranchiseFeeRequest request) {
|
||||
return ResponseResult.success(franchiseFeeService.submitLicense(request));
|
||||
}
|
||||
|
||||
@ApiOperation("基本信息查询")
|
||||
@GetMapping("/getDetail")
|
||||
public ResponseResult<FranchiseFeeResponse> getDetail(@RequestParam("shopId") Long shopId) {
|
||||
return ResponseResult.success(franchiseFeeService.getDetail(shopId));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user