- 新增商品服务定价配置表,支持多规格服务价格体系 - 新增步梯搬运费配置功能,可按楼层阶梯收费 - 重构支付订单台账,新增核心数据统计卡片 - 优化下单流程,支持定价配置校验与增项计算 - 整合财务配置,移除独立充值配置菜单
24 行
854 B
Python
24 行
854 B
Python
import paramiko
|
|
|
|
ssh = paramiko.SSHClient()
|
|
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
|
ssh.connect('8.137.181.63', port=22, username='root', password='liyanxia@6688', timeout=15)
|
|
|
|
endpoints = [
|
|
'https://yjyf.gzyakj.com.cn/api/home/cats',
|
|
'https://yjyf.gzyakj.com.cn/api/home/index',
|
|
'https://yjyf.gzyakj.com.cn/api/common/dicts',
|
|
'https://yjyf.gzyakj.com.cn/api/home/agreement?type=user_agreement',
|
|
'https://yjyf.gzyakj.com.cn/s.php/index/login'
|
|
]
|
|
|
|
for ep in endpoints:
|
|
stdin, stdout, stderr = ssh.exec_command(f'curl -k -s -w "\nHTTP_STATUS:%{{http_code}}" "{ep}"')
|
|
res = stdout.read().decode('utf-8')
|
|
lines = res.strip().splitlines()
|
|
status_line = lines[-1] if lines else ''
|
|
body_preview = lines[0][:120] if len(lines) > 1 else ''
|
|
print(f"[{status_line}] {ep} -> {body_preview}")
|
|
|
|
ssh.close()
|