更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -15,7 +15,6 @@ import (
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
)
|
||||
|
||||
// BackendAiChatSessionController AI聊天会话控制器
|
||||
type BackendAiChatSessionController struct {
|
||||
beego.Controller
|
||||
}
|
||||
@@ -40,7 +39,6 @@ type chatSessionPayload struct {
|
||||
ProviderID uint64 `json:"provider_id"`
|
||||
}
|
||||
|
||||
// List GET /backend/ai/chat/session/list
|
||||
func (c *BackendAiChatSessionController) List() {
|
||||
claims, err := c.sessionClaims()
|
||||
if err != nil {
|
||||
@@ -64,7 +62,6 @@ func (c *BackendAiChatSessionController) List() {
|
||||
c.sessionOk(map[string]interface{}{"list": list})
|
||||
}
|
||||
|
||||
// Create POST /backend/ai/chat/session
|
||||
func (c *BackendAiChatSessionController) Create() {
|
||||
claims, err := c.sessionClaims()
|
||||
if err != nil {
|
||||
@@ -107,7 +104,6 @@ func (c *BackendAiChatSessionController) Create() {
|
||||
c.sessionOk(map[string]interface{}{"id": id, "title": title})
|
||||
}
|
||||
|
||||
// Update PUT /backend/ai/chat/session/:id(重命名)
|
||||
func (c *BackendAiChatSessionController) Update() {
|
||||
claims, err := c.sessionClaims()
|
||||
if err != nil {
|
||||
@@ -161,7 +157,6 @@ func (c *BackendAiChatSessionController) Update() {
|
||||
c.sessionOk(nil)
|
||||
}
|
||||
|
||||
// Delete DELETE /backend/ai/chat/session/:id
|
||||
func (c *BackendAiChatSessionController) Delete() {
|
||||
claims, err := c.sessionClaims()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user