Merge branch 'develop' into feature/mhw-v1.01
This commit is contained in:
commit
c78f1bb238
|
@ -26,8 +26,8 @@ run_server() {
|
||||||
cd - > /dev/null
|
cd - > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
find /tmp/go-build* -mmin +5 -exec rm -rf {} +
|
find /tmp/go-build* -mmin +5 -exec rm -rf {} +
|
||||||
find /tmp/go-link* -mmin +5 -exec rm -rf {} +
|
find /tmp/go-link* -mmin +5 -exec rm -rf {} +
|
||||||
|
|
||||||
# 列出所有服务器目录
|
# 列出所有服务器目录
|
||||||
server_dirs=() # 初始化一个空数组
|
server_dirs=() # 初始化一个空数组
|
||||||
|
|
|
@ -133,7 +133,7 @@ func (l *InfoLogic) Info(req *types.UserInfoRequest, userinfo *auth.UserInfo) (r
|
||||||
|
|
||||||
for _, mquery := range mquerys {
|
for _, mquery := range mquerys {
|
||||||
|
|
||||||
sqlstr := fmt.Sprintf("select id, module, %s as querydata from %s where %s order by ctime asc limit 1", mquery.EncodeQuery("metadata"), mquery.TableName, mquery.Cond)
|
sqlstr := fmt.Sprintf("select id, module, %s as querydata from %s where %s order by ctime dec limit 1", mquery.EncodeQuery("metadata"), mquery.TableName, mquery.Cond)
|
||||||
|
|
||||||
raw := l.svcCtx.MysqlConn.Raw(sqlstr)
|
raw := l.svcCtx.MysqlConn.Raw(sqlstr)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user