Commit d4b22db3 authored by 智勇's avatar 智勇

liangkebang

parent be78a7a4
......@@ -325,7 +325,7 @@ function getInfo(pid, bank) {
let get_person_from_acs = function () {
// 老环境获取pod内容
this.url = `http://acs.q-gp.com/faker/a_person`;
this.url = `http://acs.liangkebang.com/faker/a_person`;
this.method = "GET"
}
......@@ -457,8 +457,11 @@ exports.createID = async function () {
console.log(111, js_info)
let java_info = await requestPromise(new get_person_from_acs());
java_info = JSON.parse(java_info)
console.log(222, java_info)
try {
java_info = JSON.parse(java_info)
} catch (error) {
console.log(222, java_info)
}
let temp = {}
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