更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -61,7 +61,6 @@ func categoryNameMap(ids []uint64) map[uint64]string {
|
||||
return m
|
||||
}
|
||||
|
||||
// List GET /platform/complaint/list?page=1&pageSize=20&categoryId=&status=&keyword=
|
||||
func (c *PlatformComplaintController) List() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -147,7 +146,6 @@ func (c *PlatformComplaintController) List() {
|
||||
})
|
||||
}
|
||||
|
||||
// Detail GET /platform/complaint/:id
|
||||
func (c *PlatformComplaintController) Detail() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -201,7 +199,6 @@ type complaintPayload struct {
|
||||
Remark *string `json:"remark"`
|
||||
}
|
||||
|
||||
// Create POST /platform/complaint
|
||||
func (c *PlatformComplaintController) Create() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -251,7 +248,6 @@ func (c *PlatformComplaintController) Create() {
|
||||
c.ok(map[string]interface{}{"id": id})
|
||||
}
|
||||
|
||||
// Update POST /platform/complaint/:id
|
||||
func (c *PlatformComplaintController) Update() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -324,7 +320,6 @@ func (c *PlatformComplaintController) Update() {
|
||||
c.ok(nil)
|
||||
}
|
||||
|
||||
// Delete DELETE /platform/complaint/:id
|
||||
func (c *PlatformComplaintController) Delete() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
|
||||
Reference in new issue
Block a user