|
@@ -323,6 +323,9 @@ public class SysDictServiceImpl extends ServiceImpl<SysDictMapper, SysDict> impl
|
|
|
String res = sendPost(SYNC_DICT_URL, JSONUtil.toJsonStr(syncProd));
|
|
|
if ("fail".equals(res)) {
|
|
|
return R.fail("同步失败,请稍后重试");
|
|
|
+ } else {
|
|
|
+ sysDictLog.setIsSync(true);
|
|
|
+ sysDictLogService.updateById(sysDictLog);
|
|
|
}
|
|
|
return R.ok();
|
|
|
}
|