Compare commits
No commits in common. "9bc4e69f2587662f0b7719586c179426d7bc4dcd" and "44a1e1d1d8abc5c0800b16349131a61c9a95f6b3" have entirely different histories.
9bc4e69f25
...
44a1e1d1d8
@ -4,7 +4,7 @@ from appPublic.timeUtils import curDateString
|
|||||||
from appPublic.aes import aes_decode_b64, aes_encode_b64
|
from appPublic.aes import aes_decode_b64, aes_encode_b64
|
||||||
from appPublic.uniqueID import getID
|
from appPublic.uniqueID import getID
|
||||||
from time import time
|
from time import time
|
||||||
from ahserver.serverenv import get_serverenv, ServerEnv
|
from ahserver.serverenv import get_serverenv
|
||||||
from ahserver.auth_api import get_session_userinfo, user_login
|
from ahserver.auth_api import get_session_userinfo, user_login
|
||||||
from sqlor.dbpools import DBPools
|
from sqlor.dbpools import DBPools
|
||||||
from rbac.check_perm import create_org, create_user
|
from rbac.check_perm import create_org, create_user
|
||||||
|
|||||||
@ -1,61 +0,0 @@
|
|||||||
{
|
|
||||||
"summary": [
|
|
||||||
{
|
|
||||||
"name": "downapikey",
|
|
||||||
"title": "下位系统apikey",
|
|
||||||
"primary": [
|
|
||||||
"id"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fields": [
|
|
||||||
{
|
|
||||||
"name": "id",
|
|
||||||
"title": "id",
|
|
||||||
"type": "str",
|
|
||||||
"length": 32
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "dappid",
|
|
||||||
"title": "下位系统id",
|
|
||||||
"type": "str",
|
|
||||||
"length": 32
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "userid",
|
|
||||||
"title": "用户id",
|
|
||||||
"type": "str",
|
|
||||||
"length": 32
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "apikey",
|
|
||||||
"title": "akikey",
|
|
||||||
"type": "str",
|
|
||||||
"length": 100
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "enabled_date",
|
|
||||||
"title": "创建日期",
|
|
||||||
"type": "date"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "expired_date",
|
|
||||||
"title": "失效日期",
|
|
||||||
"type": "date"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"codes": [
|
|
||||||
{
|
|
||||||
"field": "dappid",
|
|
||||||
"table": "downapp",
|
|
||||||
"valuefield": "id",
|
|
||||||
"textfield": "name"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"field": "userid",
|
|
||||||
"table": "users",
|
|
||||||
"valuefield": "id",
|
|
||||||
"textfield": "username"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@ -1,49 +0,0 @@
|
|||||||
{
|
|
||||||
"summary": [
|
|
||||||
{
|
|
||||||
"name": "downapp",
|
|
||||||
"title": "下位系统",
|
|
||||||
"primary": [
|
|
||||||
"id"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fields": [
|
|
||||||
{
|
|
||||||
"name": "id",
|
|
||||||
"title": "id",
|
|
||||||
"type": "str",
|
|
||||||
"length": 32
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "name",
|
|
||||||
"title": "下位应用名",
|
|
||||||
"type": "str",
|
|
||||||
"length": 200
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "description",
|
|
||||||
"title": "描述",
|
|
||||||
"type": "text",
|
|
||||||
"default": "0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "secretkey",
|
|
||||||
"title": "加密密钥",
|
|
||||||
"type": "str",
|
|
||||||
"length": 100
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "allowedips",
|
|
||||||
"title": "允许ip集",
|
|
||||||
"type": "str",
|
|
||||||
"length": 300
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "orgid",
|
|
||||||
"title": "所属机构",
|
|
||||||
"type": "str",
|
|
||||||
"length": 32
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user