Update user.js

This commit is contained in:
小虎故洞
2021-02-14 21:50:30 +08:00
committed by GitHub
parent fa633d472e
commit a31f50f4b2
+1 -2
View File
@@ -1,5 +1,4 @@
const got = require('@/utils/got'); const got = require('@/utils/got');
const JSONbig = require('json-bigint');
// 发起 HTTP GET 请求 // 发起 HTTP GET 请求
module.exports = async (ctx) => { module.exports = async (ctx) => {
@@ -53,7 +52,7 @@ module.exports = async (ctx) => {
const contact_information = data.contact_information; const contact_information = data.contact_information;
let contact_result = "null"; let contact_result = "null";
//对一个或多个联系方式进行遍历 //对一个或多个用户联系方式进行遍历
if (contact_information != null) { if (contact_information != null) {
contact_result = ""; contact_result = "";
for (var i = 0; i < contact_information.length; i++) { for (var i = 0; i < contact_information.length; i++) {