初始化代码

This commit is contained in:
2025-12-22 14:34:25 +08:00
parent c2c5ae2fdd
commit a77dbc743f
1510 changed files with 213008 additions and 0 deletions

View File

@@ -0,0 +1,79 @@
{
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"account": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"passwd": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 6,
"maxLength": 32
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"department_id": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 32,
"maxLength": 32
},
"status": {
"type": "integer"
},
"certificate_type": {
"type": "integer"
},
"certificate_num": {
"type": "string"
"minLength": 1,
"maxLength": 32
},
"nickname": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"wechat": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 1,
"maxLength": 100
},
"email": {
"type": "string",
"format": "regex",
"pattern": "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/i",
"minLength": 5,
"maxLength": 32
},
"qq": {
"type": "integer"
},
"mobile": {
"type": "string",
"minLength": 8,
"maxLength": 20
},
"role_id": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 32,
"maxLength": 32
}
}
}
}
}

View File

@@ -0,0 +1,87 @@
{
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"passwd": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
},
"name": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
},
"department_id": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
},
"status": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
},
"certificate_type": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
},
"certificate_num": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
},
"nickname": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
},
"wechat": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
},
"qq": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
},
"mobile": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
},
"role_id": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
}
}
}
}
}

View File

@@ -0,0 +1,24 @@
{
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"account": {
"type": "string",
"format": "regex",
"pattern": "\/^[a-z0-9]+$\/i",
"minLength": 0,
"maxLength": 15
},
"passwd": {
"type": "string",
"format": "regex",
"pattern": "\/^[a-z0-9]+$\/i",
"minLength": 0,
"maxLength": 32
}
}
}
}
}

View File

@@ -0,0 +1,416 @@
{
"type": "object",
"properties": {
"app_config": {
"type": "object",
"properties": {
"multi": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"create_time": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"update_time": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"show_card": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"copyright": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"mini_template_id": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"mini_app_name": {
"type": "string",
"minLength": 0,
"maxLength": 30
},
"status": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"allow_create": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"create_text": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"logo_switch": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"logo_text": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"logo_phone": {
"type": "string",
"minLength": 0,
"maxLength": 20
},
"notice_switch": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"notice_i": {
"type": "integer",
"minimum": 0,
"maximum": 9999999999
},
"min_tmppid": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"order_overtime": {
"type": "integer",
"default": 1800,
"minimum": 0,
"maximum": 9999999999
},
"collage_overtime": {
"type": "integer",
"minimum": 0,
"maximum": 9999999999
},
"force_phone": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"staff_extract": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"first_extract": {
"type": "integer",
"minimum": 0,
"maximum": 3
},
"sec_extract": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"code": {
"type": "string",
"minLength": 0,
"maxLength": 20
},
"corpid": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"corpsecret": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"agentid": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"wx_appid": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"wx_tplid": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"redis_pas": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"cash_mini": {
"type": "string",
"minLength": 0,
"maxLength": 9999999999
},
"admin_account": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"plug_form": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"btn_consult": {
"type": "string",
"minLength": 0,
"maxLength": 20
},
"btn_sale": {
"type": "string",
"minLength": 0,
"maxLength": 20
},
"btn_code_err": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"btn_code_miss": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"preview_switch": {
"type": "integer",
"minimum": 0,
"maximum": 9999
},
"btn_talk": {
"type": "string",
"minLength": 0,
"maxLength": 20
},
"receiving": {
"type": "integer",
"minimum": 0,
"maximum": 9999999999
},
"ios_pay": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"android_pay": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"self_text": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"default_video": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"default_voice": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"card_type": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"order_pwd": {
"type": "string",
"minLength": 0,
"maxLength": 40
},
"exchange_switch": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"motto_switch": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"default_voice_switch": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"myshop_switch": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"aliyun_sms_access_key_id": {
"type": "string",
"minLength": 0,
"maxLength": 50
},
"aliyun_sms_access_key_secret": {
"type": "string",
"minLength": 0,
"maxLength": 50
},
"default_shop_name": {
"type": "string",
"minLength": 0,
"maxLength": 500
},
"default_shop_pic": {
"type": "string",
"minLength": 0,
"maxLength": 500
},
"default_video_cover": {
"type": "string",
"minLength": 0,
"maxLength": 500
},
"appoint_pic": {
"type": "string",
"minLength": 0,
"maxLength": 500
},
"appoint_name": {
"type": "string",
"minLength": 0,
"maxLength": 500
},
"click_copy_way": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"click_copy_show_img": {
"type": "string",
"minLength": 0,
"maxLength": 500
},
"click_copy_content": {
"type": "string",
"minLength": 0,
"maxLength": 500
},
"question_switch": {
"type": "integer",
"minimum": 0,
"maximum": 1
},
"question_text": {
"type": "string",
"minLength": 0,
"maxLength": 200
},
"shop_version": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"shop_carousel_more": {
"type": "string",
"minLength": 0,
"maxLength": 300
},
"exchange_btn": {
"type": "string",
"minLength": 0,
"maxLength": 40
},
"my_shop_limit": {
"type": "integer",
"minimum": 0,
"maximum": 9999999999
},
"autograph": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"signature": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"vr_tittle": {
"type": "string",
"minLength": 0,
"maxLength": 50
},
"vr_cover": {
"type": "string",
"minLength": 0,
"maxLength": 300
},
"vr_path": {
"type": "string",
"minLength": 0,
"maxLength": 300
},
"vr_switch": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"qr_avatar_switch": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"coupon_pass": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"auto_switch": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"auto_switch_way": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"job_switch": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"appid": {
"type": "string",
"minLength": 0,
"maxLength": 40
},
"app_secret": {
"type": "string",
"minLength": 0,
"maxLength": 40
},
"chat_switch": {
"type": "integer",
"minimum": 0,
"maximum": 999
},
"auth_switch": {
"type": "integer",
"minimum": 0,
"maximum": 999
}
}
}
}
}

View File

@@ -0,0 +1,50 @@
{
"type": "object",
"properties": {
"data": {
"type": "array",
"minItems": 0,
"maxItems": 20,
"items": {
"type": "object",
"properties": {
"menu_name": {
"type": "string",
"minLength": 0,
"maxLength": 32
},
"is_show": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 1
},
"name": {
"type": "string",
"pattern": "\/^[a-z0-9]+$\/i",
"minLength": 0,
"maxLength": 20
},
"url": {
"type": "string",
"pattern": "\/^[a-z0-9]+$\/i",
"minLength": 0,
"maxLength": 500
},
"url_out": {
"type": "string",
"pattern": "\/^[a-z0-9]+$\/i",
"minLength": 0,
"maxLength": 500
},
"url_jump_way": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 999
}
}
}
}
}
}

View File

@@ -0,0 +1,30 @@
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"question": {
"type": "array",
"minItems": 0,
"maxItems": 200,
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 0,
"maxLength": 100
}
}
}
}
}
}
}
}

View File

@@ -0,0 +1,21 @@
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 20
},
"top": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 999999999
}
}
}
}
}

View File

@@ -0,0 +1,27 @@
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"content": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"top": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 9999999999
},
"type": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 9999999999
}
}
}
}
}

View File

@@ -0,0 +1,21 @@
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"question_switch": {
"type": "integer",
"default": 1,
"minimum": 0,
"maximum": 1
},
"question_text": {
"type": "string",
"minLength": 0,
"maxLength": 200
}
}
}
}
}

View File

@@ -0,0 +1,54 @@
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"default": 1,
"minimum": 1,
"maximum": 99999999999
},
"title": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"status": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 999
},
"question": {
"type": "array",
"minItems": 0,
"maxItems": 200,
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 99999999999
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"status": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 1
}
}
}
}
}
}
}
}

View File

@@ -0,0 +1,33 @@
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 9223372036854775807
},
"title": {
"type": "string",
"minLength": 0,
"maxLength": 20
},
"top": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 9999999999
},
"status": {
"type": "integer",
"default": 1,
"minimum": 0,
"maximum": 999
}
}
}
}
}

View File

@@ -0,0 +1,33 @@
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 9999999999
},
"content": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"top": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 9999999999
},
"type": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 9999999999
}
}
}
}
}

17
Schema/TestRequest.json Normal file
View File

@@ -0,0 +1,17 @@
{
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"account": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
}
}
}
}
}

View File

@@ -0,0 +1,17 @@
{
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"account": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
}
}
}
}
}

View File

@@ -0,0 +1,17 @@
{
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"account": {
"type": "string",
"format": "regex",
"pattern": "/^[a-z0-9]+$/i",
"minLength": 0,
"maxLength": 9223372036854775807
}
}
}
}
}