加盟意向

This commit is contained in:
guohb
2024-03-22 14:58:52 +08:00
parent 2f005d64cc
commit 75efae07d5
7 changed files with 225 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
package com.cool.store.controller.webc;
import com.cool.store.request.JoinIntentionRequest;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.JoinIntentionService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@RestController
@RequestMapping({"/mini/JoinIntention"})
@Slf4j
@Api(tags = "小程序意向加盟")
public class MiniJoinIntentionController {
@Resource
private JoinIntentionService joinIntentionService;
@PostMapping(path = "/getOpenAreaList")
@ApiOperation("填写加盟意向申请书")
public ResponseResult submit(JoinIntentionRequest request) {
joinIntentionService.submit(request);
return ResponseResult.success();
}
}