mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-02-01 09:32:49 +08:00
38 lines
920 B
Plaintext
38 lines
920 B
Plaintext
{
|
|
"properties" : { },
|
|
"id" : "4f966df34dbe41ff8b9941da4671eb2d",
|
|
"script" : null,
|
|
"groupId" : "67b2ce258e24491194b74992958c74aa",
|
|
"name" : "获取排序号",
|
|
"createTime" : null,
|
|
"updateTime" : 1641732167291,
|
|
"lock" : "0",
|
|
"method" : "GET",
|
|
"path" : "/sort",
|
|
"parameters" : [ {
|
|
"name" : "pid",
|
|
"value" : "",
|
|
"description" : "",
|
|
"required" : true,
|
|
"dataType" : "String",
|
|
"type" : null,
|
|
"defaultValue" : null,
|
|
"validateType" : null,
|
|
"error" : null,
|
|
"expression" : null,
|
|
"children" : null
|
|
} ],
|
|
"option" : "[]",
|
|
"requestBody" : "",
|
|
"headers" : [ ],
|
|
"paths" : [ ],
|
|
"responseBody" : null,
|
|
"description" : null,
|
|
"requestBodyDefinition" : null,
|
|
"responseBodyDefinition" : null,
|
|
"optionMap" : { }
|
|
}
|
|
================================
|
|
return db.selectInt("""
|
|
select max(sort) + 10 from sys_menu where pid = #{pid} and is_del = '0'
|
|
""") || 10; |