Browse Source

Merge branch 'release_toaliyun_real_20230511' of https://git.malls.iformall.com/server/formallProject into release_toaliyun_real_20230511

release_toaliyun_real
winter 3 years ago
parent
commit
e548ae182f
1 changed files with 19 additions and 6 deletions
  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 View File

@@ -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();
}



}

Loading…
Cancel
Save