Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
U
unify_api2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chaonan
unify_api2
Commits
0dae7930
You need to sign in or sign up before continuing.
Commit
0dae7930
authored
Mar 10, 2025
by
lcn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
18d28876
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
constants.py
unify_api/constants.py
+8
-8
current_user_info.py
unify_api/modules/users/views/current_user_info.py
+1
-1
No files found.
unify_api/constants.py
View file @
0dae7930
...
...
@@ -395,7 +395,7 @@ PRODUCT_INFOS = {
"url"
:
SETTING
.
m_andianu_url
,
"img_url"
:
f
"{SETTING.download_img_url}/image/m-andianu.png"
,
"info"
:
"掌握项目安全状态,量化管理用电风险,降本增效有据可依。"
,
"sort_num"
:
4
2
"sort_num"
:
4
5
},
4
:
{
"name"
:
"识电U+"
,
...
...
@@ -409,7 +409,7 @@ PRODUCT_INFOS = {
"url"
:
SETTING
.
m_zhidianu_url
,
"img_url"
:
f
"{SETTING.download_img_url}/image/m-zhidianu.png"
,
"info"
:
"了解电力用户,洞悉用户特征,挖掘需求、服务业务。"
,
"sort_num"
:
4
3
"sort_num"
:
4
6
},
6
:
{
"name"
:
"智电U+"
,
...
...
@@ -443,7 +443,7 @@ PRODUCT_INFOS = {
"url"
:
SETTING
.
anshiu_url
,
"img_url"
:
f
"{SETTING.download_img_url}/image/anshiu.png"
,
"info"
:
"电气安全精细监控,用电风险瞬间捕捉,电气事故无所遁形。"
,
"sort_num"
:
4
4
"sort_num"
:
4
9
},
13
:
{
"name"
:
"清科优能官方网站管理平台"
,
...
...
@@ -513,21 +513,21 @@ PRODUCT_INFOS = {
"url"
:
SETTING
.
co2e_url
,
"img_url"
:
f
"{SETTING.download_img_url}/image/anshiu.png"
,
"info"
:
""
,
"sort_num"
:
38
"sort_num"
:
43
},
23
:
{
"name"
:
"综合智慧能源管理平台"
,
"name"
:
"综合智慧能源管理平台
V2.5
"
,
"url"
:
SETTING
.
ccsic_url
,
"img_url"
:
f
"{SETTING.download_img_url}/image/anshiu.png"
,
"info"
:
""
,
"sort_num"
:
39
"sort_num"
:
42
},
24
:
{
"name"
:
"充电桩运营管理平台"
,
"url"
:
SETTING
.
chrg_sta_url
,
"img_url"
:
f
"{SETTING.download_img_url}/image/anshiu.png"
,
"info"
:
""
,
"sort_num"
:
4
0
"sort_num"
:
4
4
},
}
...
...
@@ -929,7 +929,7 @@ PRODUCT_NAME = {
"de_DE"
:
"Cloud-basierte Kopplungsplattform für Kohlenstoff- und Stromsysteme"
},
23
:
{
"zh_CN"
:
"综合智慧能源管理平台"
,
"zh_CN"
:
"综合智慧能源管理平台
V2.5
"
,
"en_US"
:
"Integrated Smart Energy Management Platform"
,
"de_DE"
:
"Integrierte intelligente Energiemanagement-Plattform"
},
...
...
unify_api/modules/users/views/current_user_info.py
View file @
0dae7930
...
...
@@ -73,7 +73,7 @@ async def get_user_info(request) -> UserInfoResponse:
product_list
.
append
(
d_prod_info
)
if
product_list
:
for
prod_id
in
[
7
,
19
,
20
]:
for
prod_id
in
[
7
,
19
,
20
,
22
,
23
,
24
]:
d_prod_info
=
load_product_info
(
prod_id
,
lang
)
product_list
.
append
(
d_prod_info
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment