Explorar el Código

edit show mode orders

abiao hace 5 años
padre
commit
5eb2013272
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      go/gopath/src/fohow.com/apps/models/user_model/invite.go

+ 2 - 2
go/gopath/src/fohow.com/apps/models/user_model/invite.go

@@ -214,7 +214,7 @@ func GetMyIntroListByInviteId(inviteId, page, perPage int64, useCache bool) (lis
 		WHERE
 			a.invite_id=%d
 		ORDER BY
-			a.id DESC
+			a.sale_group DESC
 			LIMIT %d,%d;
 	`
 	sql = fmt.Sprintf(sql, inviteId, (page-1)*perPage, perPage)
@@ -384,7 +384,7 @@ func GetMyMonthIntroListByInviteId(inviteId int64, page, perPage int64, createTi
 		WHERE
 			 a.invite_id=%d 
 		ORDER BY
-			a.id DESC
+			a.sale_group DESC
 			LIMIT %d,%d;
 	`
 	sql = fmt.Sprintf(sql, "%Y%m", inviteId, (page-1)*perPage, perPage)