提交
This commit is contained in:
1 parent
06956b742b
commit
e59b2aa6cb
104 files changed
+653227
-7621
No files matched your search
@@ -722,7 +722,8 @@ def register_quote_routes(router):
|
||||
try:
|
||||
tenant_no = get_tenant_no(db, _user)
|
||||
data = get_setting(db, tenant_no=tenant_no)
|
||||
return success_response(data or {"approverIds": [], "status": "1"})
|
||||
# 无配置时默认「启用」,避免设置页首次打开落到「停用」导致保存后无法预填
|
||||
return success_response(data or {"approverIds": [], "status": "0"})
|
||||
except Exception as e:
|
||||
return error_response(500, str(e))
|
||||
|
||||
|
||||
Reference in new issue
Block a user