Просмотр исходного кода

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

release_toaliyun_real
winter 3 лет назад
Родитель
Сommit
e548ae182f
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() { public ResultData syncGetTt() {
logger.debug("[" + getIpAddr() + "] TtMerchantPoiController::syncGetTt"); logger.debug("[" + getIpAddr() + "] TtMerchantPoiController::syncGetTt");
try { try {
boolean isSaas = this.isGoodLifeSaas();
if (!isSaas) {
ttGoodsCategoryService.syncGet(false);
}else {
ttGoodsCategoryService.syncGet(true);
}
ttGoodsCategoryService.syncGet(false);
} catch (Exception e) { } catch (Exception e) {
logger.error("syncGetTt error.",e); logger.error("syncGetTt error.",e);
return new ResultData(Result.ERROR,e.getMessage()); return new ResultData(Result.ERROR,e.getMessage());
@@ -103,6 +98,22 @@ public class TtGoodsCategoryController extends DouyinBaseController {
return new ResultData(); 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 @TenantIgnore
@ApiOperation("分页列表接口") @ApiOperation("分页列表接口")
@GetMapping("allTreeList") @GetMapping("allTreeList")
@@ -195,4 +206,6 @@ public class TtGoodsCategoryController extends DouyinBaseController {
return new ResultData(); return new ResultData();
} }




} }

Загрузка…
Отмена
Сохранить