fix: log 修改

This commit is contained in:
喻希里 2017-10-13 16:06:11 +08:00
parent 123578d949
commit ed08969096
18 changed files with 9 additions and 8 deletions

View File

@ -45,7 +45,8 @@
"sha1": "^1.1.1",
"underscore": "^1.8.3",
"universal-cookie": "^2.0.8",
"url": "^0.11.0"
"url": "^0.11.0",
"yapi-plugin-qsso": "^1.0.7"
},
"devDependencies": {
"prop-types": "^15.5.10",

View File

@ -609,7 +609,7 @@ class projectController extends baseController {
let result = await this.Model.up(id, data);
let username = this.getUsername();
yapi.commons.saveLog({
content: `<a href="/user/profile/${this.getUid()}">${username}</a> 更新了项目 <a href="/user/profile/${id}}">${projectData.name}</a> ""`,
content: `<a href="/user/profile/${this.getUid()}">${username}</a> 更新了项目 <a href="/user/profile/${id}}">${projectData.name}</a>`,
type: 'project',
uid: this.getUid(),
username: username,
@ -660,7 +660,7 @@ class projectController extends baseController {
let result = await this.Model.up(id, data);
let username = this.getUsername();
yapi.commons.saveLog({
content: `<a href="/user/profile/${this.getUid()}">${username}</a> 更新了项目 <a href="/user/profile/${id}">${projectData.name}"</a> 环境`,
content: `<a href="/user/profile/${this.getUid()}">${username}</a> 更新了项目 <a href="/user/profile/${id}">${projectData.name}</a> 环境`,
type: 'project',
uid: this.getUid(),
username: username,

View File

@ -1 +1 @@
window.WEBPACK_ASSETS = {"index.js":{"js":"index@d40cbb31e3ed41d757d9.js","css":"index@d40cbb31e3ed41d757d9.css"},"lib":{"js":"lib@3d6790748483412d111e.js"},"lib2":{"js":"lib2@34c977588e1eeac462a0.js"},"manifest":{"js":"manifest@b67af9f8b578904e66c5.js"}}
window.WEBPACK_ASSETS = {"index.js":{"js":"index@c67b9323a2877b9317a7.js","css":"index@c67b9323a2877b9317a7.css"},"lib":{"js":"lib@bcdba1b2e74e2218e3f2.js"},"lib2":{"js":"lib2@e95e8b54bdd3324993fc.js"},"manifest":{"js":"manifest@b67af9f8b578904e66c5.js"}}

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.