记得上下班打卡 | git大法好,push需谨慎

Commit 757c4865 authored by 张国柄's avatar 张国柄

~

parent f95772f1
...@@ -7,6 +7,7 @@ import com.liquidnet.service.base.ResponseDto; ...@@ -7,6 +7,7 @@ import com.liquidnet.service.base.ResponseDto;
import com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCertificationParam; import com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCertificationParam;
import com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCompleteParam; import com.liquidnet.service.goblin.dto.manage.GoblinStoreMgtCompleteParam;
import com.liquidnet.service.goblin.dto.manage.vo.GoblinStoreCertificationVo; import com.liquidnet.service.goblin.dto.manage.vo.GoblinStoreCertificationVo;
import com.liquidnet.service.goblin.dto.manage.vo.GoblinStoreMgtThumbVo;
import com.liquidnet.service.goblin.service.manage.IGoblinStoreMgtCertificationService; import com.liquidnet.service.goblin.service.manage.IGoblinStoreMgtCertificationService;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
...@@ -32,22 +33,6 @@ public class GoblinStoreMgtCertificationController { ...@@ -32,22 +33,6 @@ public class GoblinStoreMgtCertificationController {
IGoblinStoreMgtCertificationService IGoblinStoreMgtCertificationService; IGoblinStoreMgtCertificationService IGoblinStoreMgtCertificationService;
@ApiOperationSupport(order = 1) @ApiOperationSupport(order = 1)
@ApiOperation(value = "认证状态")
@PostMapping("status")
public ResponseDto<GoblinStoreCertificationVo> certificationStatus() {
GoblinStoreCertificationVo storeCertificationVo = GoblinStoreCertificationVo.getNew();
// TODO: 2021/12/27 zhanggb
String status = RandomStringUtils.random(1, "123");
storeCertificationVo.setCertStatus(status);
if (status.equals("2")) {
storeCertificationVo.setReason("这是一个原因这是一个原因这是一个原因这是一个原因");
}
return ResponseDto.success();
}
@ApiOperationSupport(order = 2)
@ApiOperation(value = "店铺认证第一步:认证资料") @ApiOperation(value = "店铺认证第一步:认证资料")
@PostMapping("fstep") @PostMapping("fstep")
public ResponseDto<Object> certificationFirstStep(@Valid @RequestBody GoblinStoreMgtCertificationParam certificationParam) { public ResponseDto<Object> certificationFirstStep(@Valid @RequestBody GoblinStoreMgtCertificationParam certificationParam) {
...@@ -59,7 +44,7 @@ public class GoblinStoreMgtCertificationController { ...@@ -59,7 +44,7 @@ public class GoblinStoreMgtCertificationController {
return ResponseDto.success(); return ResponseDto.success();
} }
@ApiOperationSupport(order = 3) @ApiOperationSupport(order = 2)
@ApiOperation(value = "店铺认证第二步:完善信息") @ApiOperation(value = "店铺认证第二步:完善信息")
@PostMapping("sstep") @PostMapping("sstep")
public ResponseDto<Object> certificationSecondStep(@Valid @RequestBody GoblinStoreMgtCompleteParam completeParam) { public ResponseDto<Object> certificationSecondStep(@Valid @RequestBody GoblinStoreMgtCompleteParam completeParam) {
......
...@@ -26,7 +26,7 @@ import java.util.List; ...@@ -26,7 +26,7 @@ import java.util.List;
public class GoblinStoreMgtController { public class GoblinStoreMgtController {
@ApiOperationSupport(order = 1) @ApiOperationSupport(order = 1)
@ApiOperation(value = "店铺简易信息列表") @ApiOperation(value = "店铺管理:店铺列表")
@GetMapping(value = {"list"}) @GetMapping(value = {"list"})
public ResponseDto<List<GoblinStoreMgtThumbVo>> thumbList() { public ResponseDto<List<GoblinStoreMgtThumbVo>> thumbList() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment