多店铺需求
This commit is contained in:
@@ -51,9 +51,7 @@ public class ShopBranchController {
|
||||
public CzgResult<Void> settingDataSyncMethod(@RequestParam String dataSyncMethod) {
|
||||
Long shopId = StpKit.USER.getShopId(0L);
|
||||
shopBranchService.settingDataSyncMethod(shopId, dataSyncMethod);
|
||||
CzgResult<Void> ret = CzgResult.success();
|
||||
ret.setMsg("设置成功,数据正在后台同步中...");
|
||||
return ret;
|
||||
return CzgResult.success();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -65,7 +63,9 @@ public class ShopBranchController {
|
||||
@OperationLog("分店管理-同步启用")
|
||||
public CzgResult<Void> dataSyncEnable(@RequestParam Long branchShopId) {
|
||||
shopBranchService.dataSyncEnable(branchShopId);
|
||||
return CzgResult.success();
|
||||
CzgResult<Void> ret = CzgResult.success();
|
||||
ret.setMsg("启用成功,数据正在后台同步中...");
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user