mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
Added Batch Music Upload Feature
This commit is contained in:
+5
-2
@@ -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 || '',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user