更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -9,14 +9,10 @@ import (
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
)
|
||||
|
||||
// PlatformUpgradeNoticeController 平台端「平台更新公告」接口。
|
||||
// 数据同源于 models.PlatformUpgradeNotice,但作为平台端独立接口,
|
||||
// 不与移动端 /api、官网 /index 复用同一 handler。
|
||||
type PlatformUpgradeNoticeController struct {
|
||||
beego.Controller
|
||||
}
|
||||
|
||||
// List GET /platform/upgrade/list 获取平台更新列表
|
||||
func (c *PlatformUpgradeNoticeController) List() {
|
||||
limitStr := c.GetString("limit")
|
||||
limit := 10
|
||||
@@ -65,7 +61,6 @@ func (c *PlatformUpgradeNoticeController) List() {
|
||||
_ = c.ServeJSON()
|
||||
}
|
||||
|
||||
// Detail GET /platform/upgrade/detail?id={id} 获取单条更新详情
|
||||
func (c *PlatformUpgradeNoticeController) Detail() {
|
||||
idStr := strings.TrimSpace(c.GetString("id"))
|
||||
if idStr == "" {
|
||||
|
||||
Reference in new issue
Block a user