...
|
...
|
@@ -200,6 +200,7 @@ func (controller *BaseController) setUserCompanyId(id int64) { |
|
|
|
|
|
func (controller *BaseController) GetUserCompany() int64 {
|
|
|
idV := controller.Ctx.Input.GetData("token:company_id")
|
|
|
uid, _ := strconv.ParseInt(fmt.Sprint(idV), 10, 64)
|
|
|
uid, err := strconv.ParseInt(fmt.Sprint(idV), 10, 64)
|
|
|
logs.Error(err)
|
|
|
return uid
|
|
|
} |
...
|
...
|
|