|
@@ -351,6 +351,16 @@ class TreeService extends Service {
|
|
|
_cacheMaxLid(mid, maxId) {
|
|
|
this.cache.set(this.setting.keyPre + mid , maxId, 'EX', this.ctx.app.config.cacheTime);
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 移除最大节点id
|
|
|
+ *
|
|
|
+ * @param {Number} mid - master id
|
|
|
+ * @return {Number}
|
|
|
+ * @private
|
|
|
+ */
|
|
|
+ async _removeCacheMaxLid(mid) {
|
|
|
+ return await this.cache.del(this.setting.keyPre + mid);
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 更新order
|