animeic 2 년 전
부모
커밋
3a0f4d4eec
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      boxcost/api/supplier.go

+ 1 - 1
boxcost/api/supplier.go

@@ -173,7 +173,7 @@ func SupplierBillList(c *gin.Context, apictx *ApiSession) (interface{}, error) {
 		Page:        page,
 		Size:        size,
 		Query:       query,
-		Sort:        repo.Map{"sendTime": -1},
+		Sort:        bson.M{"sendTime": -1},
 	})
 }