Commit 45662561 by Aeolus

update

parent 08b3ec9f
......@@ -24,7 +24,7 @@ XX_PAY_CONFIG = {
"key_path": os.getenv("XX_PAY_SSL_KEY_PATH"),
'callback_url': '/rent/wx_pay_callback',
'refund_callback_url': '/rent/refund_callback',
'domain': 'https://automat.ssw-htzn.com/automat'
'domain': 'https://sukang.ssw-htzn.com/automat'
}
pay_config_list = ["", "xx"]
......
......@@ -127,11 +127,11 @@ class AdminService(object):
select_sql = """select tallyman_account.user_name, tallyman_account.phone, tallyman_account.level,
tallyman_account.status,tallyman_account.created_at, tallyman_account.updated_at,
tallyman_account.id, tallyman_account.user_no, tallyman_account.comment,
tallyman_account.business_id
tallyman_account.business_id, business.business_name
"""
count_sql = "select count(tallyman_account.id) as total_count"
from_sql = " from tallyman_account "
from_sql = " from tallyman_account left join business on tallyman_account.business_id = business.id"
if g.user.level == 1:
where_sql = " where 0=0 "
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment