fix: 修复 issues #1019 的跟进问题 (#1068)

* issues #1019 的迫真修复

* 修复 issues #1019

* 修复 issues #1019

* 改回 pickedLyric() 逻辑

* 更进一步的避免取词卡死问题

* 更新网易云 api 到 4.2.0

* Update README.md

* Revert "Update README.md"

This reverts commit b862ef7d4dabd40c8fe57e4837fc6220806a1456.
This commit is contained in:
是虹川飴 2021-12-06 18:27:24 +08:00 committed by qier222
parent 37f31d0516
commit e66a264d9b
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
28 changed files with 286 additions and 317 deletions

View file

@ -3,11 +3,14 @@ const axios = require('axios')
const host = global.host || 'http://localhost:3000'
console.log('注意: 测试登录需在 test/login.test.js 中填写账号密码!!!')
const phone = ''
const password = ''
const country_code = '1'
const phone = '3156678705'
const password = '1q2w3e4R'
describe('测试登录是否正常', () => {
it('手机登录 code 应该等于200', (done) => {
const qs = {
countrycode:
process.env.NCM_API_TEST_LOGIN_COUNTRY_CODE || country_code || '',
phone: process.env.NCM_API_TEST_LOGIN_PHONE || phone || '',
password: process.env.NCM_API_TEST_LOGIN_PASSWORD || password || '',
}