更新密码找回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 *PlatformComplaintCategoryController) ok(data interface{}) {
|
||||
_ = c.ServeJSON()
|
||||
}
|
||||
|
||||
// List GET /platform/complaintCategory/list
|
||||
func (c *PlatformComplaintCategoryController) List() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -52,7 +51,6 @@ func (c *PlatformComplaintCategoryController) List() {
|
||||
c.ok(rows)
|
||||
}
|
||||
|
||||
// SelectList GET /platform/complaintCategory/select — 仅启用,供下拉
|
||||
func (c *PlatformComplaintCategoryController) SelectList() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -79,7 +77,6 @@ type complaintCategoryPayload struct {
|
||||
Status *int8 `json:"status"`
|
||||
}
|
||||
|
||||
// Create POST /platform/complaintCategory
|
||||
func (c *PlatformComplaintCategoryController) Create() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -114,7 +111,6 @@ func (c *PlatformComplaintCategoryController) Create() {
|
||||
c.ok(map[string]interface{}{"id": id})
|
||||
}
|
||||
|
||||
// Update POST /platform/complaintCategory/:id
|
||||
func (c *PlatformComplaintCategoryController) Update() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -164,7 +160,6 @@ func (c *PlatformComplaintCategoryController) Update() {
|
||||
c.ok(nil)
|
||||
}
|
||||
|
||||
// Delete DELETE /platform/complaintCategory/:id
|
||||
func (c *PlatformComplaintCategoryController) Delete() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
|
||||
Reference in new issue
Block a user