意向加盟 PC
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
package com.cool.store.controller.webb;
|
||||||
|
|
||||||
|
|
||||||
|
import com.cool.store.response.ResponseResult;
|
||||||
|
import com.cool.store.service.JoinIntentionService;
|
||||||
|
import com.cool.store.vo.PartnerBaseInfoVO;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping({"/pc/JoinIntention"})
|
||||||
|
@Slf4j
|
||||||
|
@Api(tags = "PC意向加盟")
|
||||||
|
public class PCJoinIntentionController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
private JoinIntentionService joinIntentionService;
|
||||||
|
|
||||||
|
@GetMapping(path = "/getByLineId")
|
||||||
|
@ApiOperation("查找加盟意向申请书")
|
||||||
|
public ResponseResult<PartnerBaseInfoVO> getByLineId(@RequestParam("lineId") Long lineId) {
|
||||||
|
return ResponseResult.success(joinIntentionService.getByLineId(lineId));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user