@@ -78,11 +78,7 @@ func (c *AdminCommon) Login() {
resp.ProductName = productName
resp.Authority = adminWx.Authority
resp.Headimgurl = adminWx.Headimgurl
- if utils.RunMode == "release" {
- if adminWx.AdminId == 66 {
- resp.IsBusinessTrip = true
- }
- } else {
+ if adminWx.AdminId == 66 {
resp.IsBusinessTrip = true
}
c.OkDetailed(resp, "登录成功")
@@ -88,7 +88,7 @@ func GetBusinessApplyList(condition string, pars []interface{}, startSize, pageS
if condition != "" {
sql += condition
- sql += ` ORDER BY a.create_time ASC LIMIT ?,? `
+ sql += ` ORDER BY a.create_time DESC LIMIT ?,? `
_, err = o.Raw(sql, pars, startSize, pageSize).QueryRows(&list)
return