diff --git a/json/upapp.json b/json/upapp.json index bb9d42e..01a8558 100644 --- a/json/upapp.json +++ b/json/upapp.json @@ -5,6 +5,7 @@ "description":"上位系统", "sortby":"name", "logined_userorgid":"ownerid", + "confidental_fileds":["secretkey"] "browserfields":{ "exclouded":[], "alters":{} diff --git a/json/upappkey.json b/json/upappkey.json index 3fb224f..ba520f8 100644 --- a/json/upappkey.json +++ b/json/upappkey.json @@ -4,7 +4,7 @@ "title":"上位系统密码", "logined_useid":"ownerid", "description":"上位系统密码", - "confidential_fields":["apikey", "secretkey", "apipasswd" ], + "confidential_fields":["apikey", "apipasswd" ], "browserfields":{ "exclouded":["id", "ownerid"], "alters":{} diff --git a/models/upapp.xlsx b/models/upapp.xlsx index 3eb67ba..a610e70 100644 Binary files a/models/upapp.xlsx and b/models/upapp.xlsx differ diff --git a/models/upappkey.xlsx b/models/upappkey.xlsx index 940ed14..67b058a 100644 Binary files a/models/upappkey.xlsx and b/models/upappkey.xlsx differ diff --git a/uapi/appapi.py b/uapi/appapi.py index fe8778d..4b662cb 100644 --- a/uapi/appapi.py +++ b/uapi/appapi.py @@ -189,7 +189,7 @@ a.myappid, a.ownerid as appownerid, a.baseurl, b.apikey, -b.secretkey +a.secretkey from upapp a, upappkey b where a.id = b.upappid and a.id = ${appid}$