소스 검색

//new

release_toaliyun_real
xhxu 3 년 전
부모
커밋
5947b16e96
1개의 변경된 파일19개의 추가작업 그리고 6개의 파일을 삭제
  1. +19
    -6
      mallinkAdmin/src/main/java/com/iformall/controller/basic/TtGoodsCategoryController.java

+ 19
- 6
mallinkAdmin/src/main/java/com/iformall/controller/basic/TtGoodsCategoryController.java 파일 보기

@@ -90,12 +90,7 @@ public class TtGoodsCategoryController extends DouyinBaseController {
public ResultData syncGetTt() {
logger.debug("[" + getIpAddr() + "] TtMerchantPoiController::syncGetTt");
try {
boolean isSaas = this.isGoodLifeSaas();
if (!isSaas) {
ttGoodsCategoryService.syncGet(false);
}else {
ttGoodsCategoryService.syncGet(true);
}
ttGoodsCategoryService.syncGet(false);
} catch (Exception e) {
logger.error("syncGetTt error.",e);
return new ResultData(Result.ERROR,e.getMessage());
@@ -103,6 +98,22 @@ public class TtGoodsCategoryController extends DouyinBaseController {
return new ResultData();
}

@TenantIgnore
@ApiOperation("同步抖音类目")
@GetMapping("syncGetTtNew")
@ApiImplicitParams({})
@SystemControllerLog(description = "同步")
public ResultData syncGetTtNew() {
logger.debug("[" + getIpAddr() + "] TtMerchantPoiController::syncGetTt");
try {
ttGoodsCategoryService.syncGet(true);
} catch (Exception e) {
logger.error("syncGetTt error.",e);
return new ResultData(Result.ERROR,e.getMessage());
}
return new ResultData();
}

@TenantIgnore
@ApiOperation("分页列表接口")
@GetMapping("allTreeList")
@@ -195,4 +206,6 @@ public class TtGoodsCategoryController extends DouyinBaseController {
return new ResultData();
}



}

불러오는 중...
취소
저장