家教管理系统接口文档
  1. gen-controller
家教管理系统接口文档
  • basic-error-controller
    • error
      GET
    • error
      PUT
    • error
      POST
    • error
      DELETE
    • error
      OPTIONS
    • error
      HEAD
    • error
      PATCH
    • error
      TRACE
  • cache-controller
    • getInfo
      GET
    • clearCacheAll
      DELETE
    • clearCacheKey
      DELETE
    • clearCacheName
      DELETE
    • getCacheKeys
      GET
    • cache
      GET
    • getCacheValue
      GET
  • captcha-controller
    • getCode
  • common-controller
    • fileDownload
    • resourceDownload
    • uploadFile
    • uploadFiles
  • gen-controller
    • editSave
      PUT
    • batchGenCode
      GET
    • columnList
      GET
    • dataList
      GET
    • download
      GET
    • genCode
      GET
    • importTableSave
      POST
    • genList
      GET
    • preview
      GET
    • synchDb
      GET
    • remove
      DELETE
    • getInfo
      GET
  • server-controller
    • getInfo
  • sys-config-controller
    • edit
    • add
    • getConfigKey
    • export
    • list
    • refreshCache
    • remove
    • getInfo
  • sys-dept-controller
    • edit
    • add
    • list
    • excludeChild
    • getInfo
    • remove
  • sys-dict-data-controller
    • edit
    • add
    • export
    • list
    • dictType
    • remove
    • getInfo
  • sys-dict-type-controller
    • edit
    • add
    • export
    • list
    • optionselect
    • refreshCache
    • remove
    • getInfo
  • sys-index-controller
    • index
    • index
    • index
    • index
    • index
    • index
    • index
    • index
  • sys-job-controller
    • edit
    • add
    • changeStatus
    • export
    • list
    • run
    • remove
    • getInfo
  • sys-job-log-controller
    • clean
    • export
    • list
    • remove
    • getInfo
  • sys-login-controller
    • getInfo
    • getRouters
    • login
  • sys-logininfor-controller
    • clean
    • export
    • list
    • unlock
    • remove
  • sys-menu-controller
    • edit
    • add
    • list
    • roleMenuTreeselect
    • treeselect
    • getInfo
    • remove
  • sys-notice-controller
    • edit
    • add
    • list
    • remove
    • getInfo
  • sys-operlog-controller
    • clean
    • export
    • list
    • remove
  • sys-post-controller
    • edit
    • add
    • export
    • list
    • optionselect
    • remove
    • getInfo
  • sys-profile-controller
    • profile
    • updateProfile
    • avatar
    • updatePwd
  • sys-register-controller
    • register
  • sys-role-controller
    • edit
    • add
    • allocatedList
    • cancelAuthUser
    • cancelAuthUserAll
    • selectAuthUserAll
    • unallocatedList
    • changeStatus
    • dataScope
    • deptTree
    • export
    • list
    • optionselect
    • remove
    • getInfo
  • sys-user-controller
    • edit
    • add
    • getInfo
    • insertAuthRole
    • authRole
    • changeStatus
    • deptTree
    • export
    • importData
    • importTemplate
    • list
    • resetPwd
    • remove
    • getInfo
  • sys-user-online-controller
    • list
    • forceLogout
  • test-controller
    • 获取用户列表
    • 新增用户
    • 更新用户
    • 获取用户详细
    • 删除用户信息
  • tutorsys-audit-controller
    • edit
    • edit
    • edit
    • add
    • add
    • add
    • export
    • export
    • export
    • list
    • list
    • list
    • remove
    • remove
    • remove
    • getInfo
    • getInfo
    • getInfo
  • tutorsys-category-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-dealer-commission-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-dealer-profile-controller
    • edit
    • edit
    • add
    • add
    • export
    • getCode
    • list
    • export
    • remove
    • list
    • getInfo
    • remove
    • getInfo
  • tutorsys-login-controller
    • edit
    • login
    • edit
    • Code2Session
    • add
    • export
    • export
    • list
    • remove
    • remove
    • getInfo
    • getInfo
  • tutorsys-order-controller
    • edit
    • add
    • export
    • getRecentOrderNum
    • list
    • remove
    • getInfo
  • tutorsys-payment-controller
    • edit
    • add
    • PrepayRequest
    • Notify
    • export
    • list
    • remove
    • getInfo
  • tutorsys-receiving-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-schedule-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-tutor-tag-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-user-profile-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • ali-oss-controller
    • upload
  • tutorsys-attribute-sku-controller
  • tutorsys-banner-controller
    • edit
    • edit
    • add
    • add
    • export
    • export
    • list
    • list
    • remove
    • remove
    • getInfo
    • getInfo
  • tutorsys-del-user-data-controller
    • delUserData
  • tutorsys-demand-list-controller
    • edit
    • add
    • export
    • getCategoryAndTag
    • list
    • map
    • map
    • remove
    • getInfo
  • tutorsys-demand-tag-controller
    • edit
    • add
    • export
    • getCategoryAndTag
    • list
    • remove
    • getInfo
  • tutorsys-tags-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • operation-handler
    • handle
    • handle
  • web-mvc-links-handler
    • links
  • tutorsys-advertise-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-profile-parent-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-profile-tutor-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-profile-tutor-experiences-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • del-user-data-controller
    • delUserData
  • order-demand-tags-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • we-chat-advertise-controller
    • edit
    • list
    • add
    • list
    • getInfo
  • we-chat-banner-controller
    • list
  • we-chat-login-controller
    • login
    • getAvatarAndNickName
    • Code2Session
    • edit
    • list
  • we-chat-order-controller
    • edit
    • add
    • list
  • we-chat-payment-controller
    • edit
    • add
    • PrepayRequest
    • Notify
    • list
  • we-chat-profile-tutor-controller
    • edit
    • add
    • list
    • myParent
    • add
    • getInfo
  • tutorsys-collections-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-demand-to-price-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • we-chat-audit-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • we-chat-common-user-controller
    • QRCode
    • addCollection
    • delCollection
    • getCollection
    • delCollection
    • getIdCardNum
    • getNumByLocation
    • wallet
  • we-chat-demand-list-controller
    • add
    • WeChatDemand2Price
    • getCategoryAndTag
    • list
    • remove
  • we-chat-profile-parent-controller
    • add
    • list
    • edit
    • add
    • getLocations
    • remove
    • getLocationInfo
    • myTutor
    • getInfo
  • tutorsys-feedback-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-user-locations-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-wait-for-order-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-wallet-detail-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-withdraw-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • we-chat-feedback-controller
    • edit
    • add
    • list
    • remove
    • getInfo
  • we-chat-withdraw-controller
    • add
    • list
  • tutorsys-contract-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-toast-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • tutorsys-transfer-order-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • we-chat-contract-controller
    • edit
    • add
    • export
    • list
    • remove
    • getInfo
  • we-chat-toast-controller
    • list
    • getInfo
  • we-chat-transfer-order-controller
    • list
  1. gen-controller

editSave

PUT
/api/tool/gen
gen-controller
最后修改时间:2024-05-26 11:06:07
责任人:未设置

请求参数

Body 参数application/json
businessName
string 
必需
className
string 
必需
columns
array[object (GenTableColumn) {27}] 
可选
columnComment
string 
可选
columnId
integer <int64>
可选
columnName
string 
可选
columnType
string 
可选
createBy
string 
可选
createTime
string <date-time>
可选
dictType
string 
可选
errMsg
string 
可选
htmlType
string 
可选
isEdit
string 
可选
isIncrement
string 
可选
isInsert
string 
可选
isList
string 
可选
isPk
string 
可选
isQuery
string 
可选
isRequired
string 
可选
javaField
string 
必需
javaType
string 
可选
params
object 
可选
queryType
string 
可选
remark
string 
可选
sort
integer <int32>
可选
tableId
integer <int64>
可选
toCreateTime
string <date-time>
可选
toUpdateTime
string <date-time>
可选
updateBy
string 
可选
updateTime
string <date-time>
可选
createBy
string 
可选
createTime
string <date-time>
可选
errMsg
string 
可选
functionAuthor
string 
必需
functionName
string 
必需
genPath
string 
可选
genType
string 
可选
moduleName
string 
必需
options
string 
可选
packageName
string 
必需
params
object 
可选
parentMenuId
string 
可选
parentMenuName
string 
可选
pkColumn
object (GenTableColumn) 
可选
remark
string 
可选
subTable
object (GenTable) 
可选
subTableFkName
string 
可选
subTableName
string 
可选
tableComment
string 
必需
tableId
integer <int64>
可选
tableName
string 
必需
toCreateTime
string <date-time>
可选
toUpdateTime
string <date-time>
可选
tplCategory
string 
可选
tplWebType
string 
可选
treeCode
string 
可选
treeName
string 
可选
treeParentCode
string 
可选
updateBy
string 
可选
updateTime
string <date-time>
可选
示例
{
  "businessName": "string",
  "className": "string",
  "columns": [
    {
      "columnComment": "string",
      "columnId": 0,
      "columnName": "string",
      "columnType": "string",
      "createBy": "string",
      "createTime": "2019-08-24T14:15:22Z",
      "dictType": "string",
      "errMsg": "string",
      "htmlType": "string",
      "isEdit": "string",
      "isIncrement": "string",
      "isInsert": "string",
      "isList": "string",
      "isPk": "string",
      "isQuery": "string",
      "isRequired": "string",
      "javaField": "string",
      "javaType": "string",
      "params": {},
      "queryType": "string",
      "remark": "string",
      "sort": 0,
      "tableId": 0,
      "toCreateTime": "2019-08-24T14:15:22Z",
      "toUpdateTime": "2019-08-24T14:15:22Z",
      "updateBy": "string",
      "updateTime": "2019-08-24T14:15:22Z"
    }
  ],
  "createBy": "string",
  "createTime": "2019-08-24T14:15:22Z",
  "errMsg": "string",
  "functionAuthor": "string",
  "functionName": "string",
  "genPath": "string",
  "genType": "string",
  "moduleName": "string",
  "options": "string",
  "packageName": "string",
  "params": {},
  "parentMenuId": "string",
  "parentMenuName": "string",
  "pkColumn": {
    "columnComment": "string",
    "columnId": 0,
    "columnName": "string",
    "columnType": "string",
    "createBy": "string",
    "createTime": "2019-08-24T14:15:22Z",
    "dictType": "string",
    "errMsg": "string",
    "htmlType": "string",
    "isEdit": "string",
    "isIncrement": "string",
    "isInsert": "string",
    "isList": "string",
    "isPk": "string",
    "isQuery": "string",
    "isRequired": "string",
    "javaField": "string",
    "javaType": "string",
    "params": {},
    "queryType": "string",
    "remark": "string",
    "sort": 0,
    "tableId": 0,
    "toCreateTime": "2019-08-24T14:15:22Z",
    "toUpdateTime": "2019-08-24T14:15:22Z",
    "updateBy": "string",
    "updateTime": "2019-08-24T14:15:22Z"
  },
  "remark": "string",
  "subTable": {},
  "subTableFkName": "string",
  "subTableName": "string",
  "tableComment": "string",
  "tableId": 0,
  "tableName": "string",
  "toCreateTime": "2019-08-24T14:15:22Z",
  "toUpdateTime": "2019-08-24T14:15:22Z",
  "tplCategory": "string",
  "tplWebType": "string",
  "treeCode": "string",
  "treeName": "string",
  "treeParentCode": "string",
  "updateBy": "string",
  "updateTime": "2019-08-24T14:15:22Z"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT '/api/tool/gen' \
--header 'Content-Type: application/json' \
--data-raw '{
    "businessName": "string",
    "className": "string",
    "columns": [
        {
            "columnComment": "string",
            "columnId": 0,
            "columnName": "string",
            "columnType": "string",
            "createBy": "string",
            "createTime": "2019-08-24T14:15:22Z",
            "dictType": "string",
            "errMsg": "string",
            "htmlType": "string",
            "isEdit": "string",
            "isIncrement": "string",
            "isInsert": "string",
            "isList": "string",
            "isPk": "string",
            "isQuery": "string",
            "isRequired": "string",
            "javaField": "string",
            "javaType": "string",
            "params": {},
            "queryType": "string",
            "remark": "string",
            "sort": 0,
            "tableId": 0,
            "toCreateTime": "2019-08-24T14:15:22Z",
            "toUpdateTime": "2019-08-24T14:15:22Z",
            "updateBy": "string",
            "updateTime": "2019-08-24T14:15:22Z"
        }
    ],
    "createBy": "string",
    "createTime": "2019-08-24T14:15:22Z",
    "errMsg": "string",
    "functionAuthor": "string",
    "functionName": "string",
    "genPath": "string",
    "genType": "string",
    "moduleName": "string",
    "options": "string",
    "packageName": "string",
    "params": {},
    "parentMenuId": "string",
    "parentMenuName": "string",
    "pkColumn": {
        "columnComment": "string",
        "columnId": 0,
        "columnName": "string",
        "columnType": "string",
        "createBy": "string",
        "createTime": "2019-08-24T14:15:22Z",
        "dictType": "string",
        "errMsg": "string",
        "htmlType": "string",
        "isEdit": "string",
        "isIncrement": "string",
        "isInsert": "string",
        "isList": "string",
        "isPk": "string",
        "isQuery": "string",
        "isRequired": "string",
        "javaField": "string",
        "javaType": "string",
        "params": {},
        "queryType": "string",
        "remark": "string",
        "sort": 0,
        "tableId": 0,
        "toCreateTime": "2019-08-24T14:15:22Z",
        "toUpdateTime": "2019-08-24T14:15:22Z",
        "updateBy": "string",
        "updateTime": "2019-08-24T14:15:22Z"
    },
    "remark": "string",
    "subTable": {},
    "subTableFkName": "string",
    "subTableName": "string",
    "tableComment": "string",
    "tableId": 0,
    "tableName": "string",
    "toCreateTime": "2019-08-24T14:15:22Z",
    "toUpdateTime": "2019-08-24T14:15:22Z",
    "tplCategory": "string",
    "tplWebType": "string",
    "treeCode": "string",
    "treeName": "string",
    "treeParentCode": "string",
    "updateBy": "string",
    "updateTime": "2019-08-24T14:15:22Z"
}'

返回响应

🟢200OK
application/json
Body
额外字段
object 
可选
示例
{
  "property1": {},
  "property2": {}
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
上一页
uploadFiles
下一页
batchGenCode
Built with