Merge branch 'v0.21' into 'master'

看板 添加企业总数

See merge request root/tfse_admin!19
This commit is contained in:
FECR-IBD 2022-03-30 05:55:59 +00:00
commit 1783d04291
1 changed files with 12 additions and 1 deletions

View File

@ -118,4 +118,15 @@ def get_new_companies_impl(page_size, page_no):
page_no
)
return records
total = db.find_all_data_with_count(
"应用端",
"企业用户",
{"已认证": ""}
)
result = {
"records": records,
"total": total
}
return result