feat: 新增师傅入驻审核与接单状态联动功能
- 新增师傅资质审核模块及权限 - 未审核通过的师傅默认禁用接单状态 - 新增售后退款申诉功能与相关界面 - 新增用户钱包管理及充值功能 - 更新服务定价矩阵相关数据库结构 - 修复微信支付证书验证问题
这个提交包含在:
16
scratch/check_remote_db.py
普通文件
16
scratch/check_remote_db.py
普通文件
@@ -0,0 +1,16 @@
|
||||
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=10)
|
||||
|
||||
stdin, stdout, stderr = ssh.exec_command("mysql -uyjyf -pyjyf yjyf -e \"SELECT price_type, count(*) FROM fa_service GROUP BY price_type;\"")
|
||||
print("Remote DB before:", stdout.read().decode('utf-8'))
|
||||
|
||||
stdin, stdout, stderr = ssh.exec_command("mysql -uyjyf -pyjyf yjyf -e \"UPDATE fa_service SET price_type = 'fixed' WHERE price_type != 'fixed';\"")
|
||||
print("Remote update err:", stderr.read().decode('utf-8'))
|
||||
|
||||
stdin, stdout, stderr = ssh.exec_command("mysql -uyjyf -pyjyf yjyf -e \"SELECT price_type, count(*) FROM fa_service GROUP BY price_type;\"")
|
||||
print("Remote DB after:", stdout.read().decode('utf-8'))
|
||||
|
||||
ssh.close()
|
||||
在新工单中引用
屏蔽一个用户