更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -6,16 +6,11 @@ import (
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
)
|
||||
|
||||
// BackendTenantQuotaController 租户端「用户数配额」信息(只读)
|
||||
// 供租户端用户管理页展示「已用/上限」;增购由平台端操作。
|
||||
type BackendTenantQuotaController struct {
|
||||
beego.Controller
|
||||
}
|
||||
|
||||
// GetQuotaInfo GET /backend/tenant/quotaInfo
|
||||
// 返回当前登录租户的用户数使用情况与生效套餐。
|
||||
func (c *BackendTenantQuotaController) GetQuotaInfo() {
|
||||
// 只认令牌:?tid= 兜底会让未绑定企业的登录态改参数就去读别人的配额与套餐
|
||||
tid := backendJWTTenantID(c.Ctx.Request.Header.Get("Authorization"))
|
||||
if tid == 0 {
|
||||
c.Data["json"] = map[string]interface{}{"code": 401, "msg": "未登录或非法请求"}
|
||||
|
||||
Reference in new issue
Block a user