Commit 60036e03 authored by liguangyu06's avatar liguangyu06
Browse files

优化

parent 4556775c
......@@ -54,7 +54,7 @@ host, port, user, pwd = mysql_handle.getConf(db="cmdc_db")
# 查询数据库中对应专区启用状态
sql = "SELECT t.disableSign FROM `cmdc-product`.ic_area t WHERE areaId = {}".format(areaId)
sign = (mysql_handle.selectSql(host, port, user, pwd, "cmdc-product", sql)[0][0] if
mysql_handle.selectSql(host, port, user, pwd, "cmdc-product", sql)[0][0] else 1)
mysql_handle.selectSql(host, port, user, pwd, "cmdc-product", sql) else 1)
result = {"deleteSign": sign}
# 将接口响应时间添加至result
......
Supports Markdown
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