更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -83,7 +83,6 @@ func (c *PlatformSoftwareUpgradeController) rowToMap(row *models.SystemSoftwareU
|
||||
}
|
||||
}
|
||||
|
||||
// List GET /platform/softwareupgrade/list
|
||||
func (c *PlatformSoftwareUpgradeController) List() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -123,7 +122,6 @@ func (c *PlatformSoftwareUpgradeController) List() {
|
||||
})
|
||||
}
|
||||
|
||||
// Detail GET /platform/softwareupgrade/:id
|
||||
func (c *PlatformSoftwareUpgradeController) Detail() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -160,7 +158,6 @@ type softwareUpgradePayload struct {
|
||||
Sort *int `json:"sort"`
|
||||
}
|
||||
|
||||
// Create POST /platform/softwareupgrade
|
||||
func (c *PlatformSoftwareUpgradeController) Create() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -224,7 +221,6 @@ func (c *PlatformSoftwareUpgradeController) Create() {
|
||||
c.ok(map[string]interface{}{"id": id})
|
||||
}
|
||||
|
||||
// Update POST /platform/softwareupgrade/:id
|
||||
func (c *PlatformSoftwareUpgradeController) Update() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
@@ -310,7 +306,6 @@ func (c *PlatformSoftwareUpgradeController) Update() {
|
||||
c.ok(nil)
|
||||
}
|
||||
|
||||
// Delete DELETE /platform/softwareupgrade/:id
|
||||
func (c *PlatformSoftwareUpgradeController) Delete() {
|
||||
if _, err := c.platformClaims(); err != nil {
|
||||
code := identity.Status(err)
|
||||
|
||||
Reference in new issue
Block a user