更新
This commit is contained in:
1 parent
5718a00e31
commit
1850ac640e
226 files changed
+37772
-12071
No files matched your search
@@ -7,6 +7,7 @@ import (
|
||||
"server/models"
|
||||
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
"server/pkg/identity"
|
||||
)
|
||||
|
||||
// =============================================================
|
||||
@@ -46,7 +47,8 @@ type biddingReminderItem struct {
|
||||
func (c *BackendCrmBiddingReminderController) List() {
|
||||
claims, err := pipelineClaims(&c.Controller)
|
||||
if err != nil {
|
||||
pipelineErr(&c.Controller, 401, 401, err.Error())
|
||||
code := identity.Status(err)
|
||||
pipelineErr(&c.Controller, code, code, err.Error())
|
||||
return
|
||||
}
|
||||
tid := pipelineTenantID(claims)
|
||||
|
||||
Reference in new issue
Block a user