🏢 蚂蚁企服公司信息管理系统

未连接
🔍
共 0 家

⚙ 云端设置

首次使用 3 步:
1. supabase.com 注册并新建项目(区域选新加坡)
2. SQL Editor 跑这段建表+开权限:
create table companies(id uuid primary key default gen_random_uuid(),name text not null,years text,type text,scope text,address text,remark text,images text[] default '{}',owner text,created_at timestamptz default now(),updated_at timestamptz default now()); alter table companies enable row level security; create policy "r" on companies for select using(true); create policy "i" on companies for insert with check(true); create policy "u" on companies for update using(true); create policy "d" on companies for delete using(true); alter publication supabase_realtime add table companies; 已有表?加 owner 列:alter table companies add column if not exists owner text; 开启账号密码登录(一次性):create table if not exists app_users(nick text primary key, pwd_hash text not null, created_at timestamptz default now()); alter table app_users enable row level security; create policy "au_r" on app_users for select using(true); create policy "au_i" on app_users for insert with check(true); create policy "au_u" on app_users for update using(true); 3. Storage 新建 Public Bucket 名为 company-images
然后到 Project Settings → API 复制 URL 和 anon key 填到上面。

录入公司

+ 点击上传图片
👤

账号登录

输入昵称和密码进入;新昵称首次登录将自动注册