feat:旷世提交、查询自己的商品
This commit is contained in:
1 parent
fc292a9904
commit
c084903129
14 files changed
+248
-37
No files matched your search
+5
@@ -13,4 +13,9 @@ public class HardSpuDto extends HardSpuEntity {
|
||||
|
||||
private LocalDateTime[] createTimeList;
|
||||
|
||||
/**
|
||||
* 分类不能为空
|
||||
*/
|
||||
private Boolean spuCategoryIdIsNotNull = false;
|
||||
|
||||
}
|
||||
+8
@@ -155,12 +155,20 @@ public class HardSpuEntity extends Model<HardSpuEntity> {
|
||||
|
||||
/**
|
||||
* 旷世审核状态
|
||||
* 0:待审核
|
||||
* 1:审核中
|
||||
* 2:审核通过
|
||||
* 3:审核不通过
|
||||
*/
|
||||
@Schema(description = "旷世审核状态")
|
||||
private String ksStatus;
|
||||
|
||||
/**
|
||||
* 旷世审核状态标题
|
||||
* 0:待审核
|
||||
* 1:审核中
|
||||
* 2:审核通过
|
||||
* 3:审核不通过
|
||||
*/
|
||||
@Schema(description = "旷世审核状态标题")
|
||||
private String ksStatusTitle;
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
package com.bsd.pjcloud.hard.api.feign;
|
||||
|
||||
|
||||
import com.bsd.pjcloud.common.core.constant.ServiceNameConstants;
|
||||
import com.bsd.pjcloud.common.core.util.R;
|
||||
import com.bsd.pjcloud.common.feign.annotation.NoToken;
|
||||
import com.bsd.pjcloud.thirdparty.dto.ks.KsSkuSubmitCallbackDto;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
@FeignClient(contextId = "remoteHardSpuController", value = ServiceNameConstants.HARDWARE_SERVICE)
|
||||
public interface RemoteHardSpuController {
|
||||
|
||||
@NoToken
|
||||
@PostMapping("/sku-check-callback")
|
||||
R skuCheckCallback(@RequestBody KsSkuSubmitCallbackDto dto);
|
||||
|
||||
}
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
com.bsd.pjcloud.hard.api.feign.RemoteHardDoorService
|
||||
com.bsd.pjcloud.hard.api.feign.RemoteHardOrderService
|
||||
com.bsd.pjcloud.hard.api.feign.RemoteHardThirdSelfZyService
|
||||
com.bsd.pjcloud.hard.api.feign.RemoteHardSpuController
|
||||
com.bsd.pjcloud.hard.api.feign.RemoteHardThirdSelfZyService
|
||||
Reference in new issue
Block a user