更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -33,7 +33,6 @@ func (c *BackendNotebookController) nbOk(data interface{}) {
|
||||
_ = c.ServeJSON()
|
||||
}
|
||||
|
||||
// List GET /backend/notebook/list
|
||||
func (c *BackendNotebookController) List() {
|
||||
claims, err := c.backendNotebookClaims()
|
||||
if err != nil {
|
||||
@@ -79,7 +78,6 @@ func (c *BackendNotebookController) List() {
|
||||
c.nbOk(map[string]interface{}{"list": list, "total": total})
|
||||
}
|
||||
|
||||
// Detail GET /backend/notebook/detail/:id
|
||||
func (c *BackendNotebookController) Detail() {
|
||||
claims, err := c.backendNotebookClaims()
|
||||
if err != nil {
|
||||
@@ -109,7 +107,6 @@ func (c *BackendNotebookController) Detail() {
|
||||
c.nbOk(note)
|
||||
}
|
||||
|
||||
// Create POST /backend/notebook/create
|
||||
func (c *BackendNotebookController) Create() {
|
||||
claims, err := c.backendNotebookClaims()
|
||||
if err != nil {
|
||||
@@ -159,7 +156,6 @@ func (c *BackendNotebookController) Create() {
|
||||
c.nbOk(note)
|
||||
}
|
||||
|
||||
// Update POST /backend/notebook/update/:id
|
||||
func (c *BackendNotebookController) Update() {
|
||||
claims, err := c.backendNotebookClaims()
|
||||
if err != nil {
|
||||
@@ -227,7 +223,6 @@ func (c *BackendNotebookController) Update() {
|
||||
c.nbOk(note)
|
||||
}
|
||||
|
||||
// Delete DELETE /backend/notebook/delete/:id
|
||||
func (c *BackendNotebookController) Delete() {
|
||||
claims, err := c.backendNotebookClaims()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user