zhibo/test_balance_api.bat

26 lines
719 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
echo ========================================
echo 测试余额API
echo ========================================
echo.
echo 测试用户ID: 43
echo API地址: http://1.15.149.240:8080/api/front/virtual-currency/balance
echo.
echo [1] 测试获取余额API需要token
echo.
echo 请先在APP中登录然后查看logcat日志
echo adb logcat -s WalletActivity:D
echo.
echo 或者使用curl测试需要替换YOUR_TOKEN
echo curl -H "Authorization: Bearer YOUR_TOKEN" http://1.15.149.240:8080/api/front/virtual-currency/balance
echo.
echo [2] 检查数据库中的余额
echo 连接数据库执行:
echo SELECT uid, account, nickname, now_money FROM eb_user WHERE uid = 43;
echo.
pause