getjoborders statusss
This commit is contained in:
@@ -273,7 +273,6 @@ func LoginInternal(ctx *Context, authType, authID, authIDType, authSecret string
|
|||||||
if user != nil && user.GetID() != "" {
|
if user != nil && user.GetID() != "" {
|
||||||
userProvider.UpdateLastLogin(user.GetID(), authType, ctx.GetRealRemoteIP())
|
userProvider.UpdateLastLogin(user.GetID(), authType, ctx.GetRealRemoteIP())
|
||||||
}
|
}
|
||||||
globals.SugarLogger.Debugf("tetetetet", utils.Format4Output(user, false))
|
|
||||||
//如果是小程序
|
//如果是小程序
|
||||||
if authType == "weixinmini" || authType == "weixinapp" {
|
if authType == "weixinmini" || authType == "weixinapp" {
|
||||||
appID := strings.Split(authSecret, ",")[0]
|
appID := strings.Split(authSecret, ",")[0]
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ func (c *JobController) GetJobOrders() {
|
|||||||
var (
|
var (
|
||||||
statuss []int
|
statuss []int
|
||||||
)
|
)
|
||||||
if err = jxutils.Strings2Objs(params.Statuss, statuss); err == nil {
|
if err = jxutils.Strings2Objs(params.Statuss, &statuss); err == nil {
|
||||||
retVal, err = dao.GetJobOrders(dao.GetDB(), 0, 0, params.UserID, "", utils.Str2Time(params.FromTime), utils.Str2Time(params.ToTime), statuss, params.PageSize, params.Offset)
|
retVal, err = dao.GetJobOrders(dao.GetDB(), 0, 0, params.UserID, "", utils.Str2Time(params.FromTime), utils.Str2Time(params.ToTime), statuss, params.PageSize, params.Offset)
|
||||||
}
|
}
|
||||||
return retVal, "", err
|
return retVal, "", err
|
||||||
|
|||||||
Reference in New Issue
Block a user