We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c72a48 + 01c3e9a commit fa6153fCopy full SHA for fa6153f
server/controllers/interface.js
@@ -628,6 +628,10 @@ class interfaceController extends baseController {
628
};
629
630
this.catModel.get(interfaceData.catid).then(cate => {
631
+ let diffView2 = showDiffMsg(jsondiffpatch, formattersHtml, logData);
632
+ if (diffView2.length <= 0) {
633
+ return; // 没有变化时,不写日志
634
+ }
635
yapi.commons.saveLog({
636
content: `<a href="/user/profile/${this.getUid()}">${username}</a>
637
更新了分类 <a href="/project/${cate.project_id}/interface/api/cat_${
0 commit comments