Commit 86f33567 authored by tywldx's avatar tywldx

Merge branch 'master' of http://git.quantgroup.cn/QA/qaHome

parents b5534cc3 31e6f8c7
...@@ -347,9 +347,21 @@ exports.reset_binlog = async function () { ...@@ -347,9 +347,21 @@ exports.reset_binlog = async function () {
try { try {
this.logger.info( this.logger.info(
" active:", "reset_binlog", {
"namespace:", req.name_space, active: "reset_binlog",
" user:", this.user); namespace: req.name_space,
microservice_name: "",
user: `${this.user.name}`,
user_email: `${this.user.mail}`,
}
// "| active:", "reset_binlog",
// "| namespace:", req.name_space,
// "| microservice_name:", "",
// "| user:", `${this.user.name}`,
// "| user_email:", `${this.user.mail}`,
// "~"
);
} catch (error) { } catch (error) {
} }
......
...@@ -457,8 +457,11 @@ exports.createID = async function () { ...@@ -457,8 +457,11 @@ exports.createID = async function () {
console.log(111, js_info) console.log(111, js_info)
let java_info = await requestPromise(new get_person_from_acs()); let java_info = await requestPromise(new get_person_from_acs());
java_info = JSON.parse(java_info) try {
console.log(222, java_info) java_info = JSON.parse(java_info)
} catch (error) {
console.log(222, java_info)
}
let temp = {} let temp = {}
for (let i in js_info) { for (let i in js_info) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment