Selaa lähdekoodia

edit show mode orders

abiao 5 vuotta sitten
vanhempi
commit
5eb2013272
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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)