Commit c24687d9 authored by duanjinfei's avatar duanjinfei

fix app is_show filed

parent 35e80ffa
......@@ -14,8 +14,8 @@ async function fetchAllData(supabase, table: string, pageSize: number = 1000) {
while (true) {
const { data, error } = await supabase
.from(table)
.select('*') // 可以根据需要调整字段
.gt('is_show_num', 0)
.select('id,name,icon,description,points,category_id,link,images,appPlatforms,caption,is_forward,is_show') // 可以根据需要调整字段
.gt('is_show', 0)
// .eq('is_show', 1)
.order('created_at', { ascending: true }) // 按照创建时间排序
.range(offset, offset + pageSize - 1); // 分页范围
......
......@@ -14,8 +14,8 @@ async function fetchAllData(supabase, table: string, pageSize: number = 1000) {
while (true) {
const { data, error } = await supabase
.from(table)
.select('*') // 可以根据需要调整字段
.gt('is_show_num', 0)
.select('id,name,icon,description,points,category_id,link,images,appPlatforms,caption,is_forward,is_show') // 可以根据需要调整字段
.gt('is_show', 0)
// .eq('is_show', 1)
.order('created_at', { ascending: true }) // 按照创建时间排序
.range(offset, offset + pageSize - 1); // 分页范围
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment