- New table rl_app_user for application tracking - APIs: rl_apply, rl_verify, rl_upload, rl_status, rl_check_app_status - Ops CRUD for managing applications and keys - Multi-vendor support reserved via vendor field
109 lines
2.4 KiB
JSON
109 lines
2.4 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "rl_app_user",
|
|
"title": "用户真人素材申请",
|
|
"primary": [
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "主键",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "org_id",
|
|
"title": "机构",
|
|
"type": "str",
|
|
"length": 32,
|
|
"default": "0"
|
|
},
|
|
{
|
|
"name": "downapp_id",
|
|
"title": "申请用户ID",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "vendor",
|
|
"title": "供应商",
|
|
"type": "str",
|
|
"length": 50
|
|
},
|
|
{
|
|
"name": "status",
|
|
"title": "状态",
|
|
"type": "str",
|
|
"length": 20,
|
|
"default": "pending"
|
|
},
|
|
{
|
|
"name": "ak",
|
|
"title": "AccessKey(加密)",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "sk",
|
|
"title": "SecretKey(加密)",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "callback_url",
|
|
"title": "回调URL",
|
|
"type": "str",
|
|
"length": 500
|
|
},
|
|
{
|
|
"name": "remark",
|
|
"title": "备注",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "create_time",
|
|
"title": "创建时间",
|
|
"type": "datetime"
|
|
},
|
|
{
|
|
"name": "update_time",
|
|
"title": "更新时间",
|
|
"type": "datetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx_rl_app_user_org",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"org_id"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_rl_app_user_user",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"downapp_id"
|
|
]
|
|
}
|
|
],
|
|
"codes": [
|
|
{
|
|
"field": "vendor",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='rl_vendor'"
|
|
},
|
|
{
|
|
"field": "status",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='rl_app_status'"
|
|
}
|
|
]
|
|
} |