Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有时候404的问题 #4

Open
shiliu2023 opened this issue Mar 22, 2023 · 2 comments
Open

有时候404的问题 #4

shiliu2023 opened this issue Mar 22, 2023 · 2 comments

Comments

@shiliu2023
Copy link

404.然后给菜单加了一个信息菜单,连接到了news,然后404莫名其妙又好了。然后用init.createTable重新生成news有关的文件。然后就又404了。这是操作过程。

@shiliu2023
Copy link
Author

form代码

{
"name": "信息",
"action": {
"bind": { "model": "news", "option": {} }
},
"layout": {
"actions": [
{
"title": "返回",
"icon": "icon-arrow-left",
"showWhenAdd": true,
"showWhenView": true,
"action": [
{
"name": "CloseModal",
"type": "Common.closeModal",
"payload": {}
}
]
},
{
"title": "保存",
"icon": "icon-check",
"style": "primary",
"showWhenAdd": true,
"action": [
{
"name": "Submit",
"type": "Form.submit",
"payload": {}
},
{
"name": "Back",
"type": "Common.closeModal",
"payload": {}
}
]
},
{
"action": [
{
"name": "Delete",
"payload": {
"model": "ai.chatlog"
},
"type": "Form.delete"
}
],
"confirm": {
"desc": "请确认删除,删除后数据无法恢复",
"title": "确认"
},
"icon": "icon-trash-2",
"style": "danger",
"title": "Delete"
}
]
}
}

@shiliu2023
Copy link
Author

{"message":"Invalid token","code":403,"context":"token is expired by 10h10m58s"}
/home/runner/work/yao/kun/exception/exception.go:118 (0x11a1273)
/home/runner/work/yao/yao/helper/jwt.go:44 (0x11a11a7)
/home/runner/work/yao/yao/service/guard.go:39 (0x13cccf1)
/home/runner/work/yao/yao/widgets/action/guard.go:23 (0x13670ad)
/home/runner/work/yao/yao/widgets/table/api.go:34 (0x1390547)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168 (0x9b5f81)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/recovery.go:99 (0x9b5f6c)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168 (0x13cd592)
/home/runner/work/yao/yao/service/middleware.go:22 (0x13cd129)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168 (0x9b5f81)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/recovery.go:99 (0x9b5f6c)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168 (0x9b50c6)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/logger.go:241 (0x9b50a9)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168 (0x9b4190)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/gin.go:555 (0x9b3df8)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/gin.go:511 (0x9b3931)
/opt/hostedtoolcache/go/1.19.2/x64/src/net/http/server.go:2947 (0x773c0b)
/opt/hostedtoolcache/go/1.19.2/x64/src/net/http/server.go:1991 (0x76ee26)
/opt/hostedtoolcache/go/1.19.2/x64/src/runtime/asm_amd64.s:1594 (0x476460)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant