feat: 添加微信端 API 文档和字典表初始化脚本
- 新增 openapi-wx.yaml 文件,定义微信端接口文档,包括用户统计、token 刷新、微信登录和用户资料更新等接口。 - 新增 pocketbase.dictionary.js 脚本,用于初始化和校验字典表结构,确保与预期一致。
This commit is contained in:
@@ -26,7 +26,7 @@ const collections = [
|
||||
type: 'base',
|
||||
fields: [
|
||||
{ name: 'attachments_id', type: 'text', required: true },
|
||||
{ name: 'attachments_link', type: 'file', maxSelect: 0, maxSize: 104857600, mimeTypes: [] },
|
||||
{ name: 'attachments_link', type: 'file', maxSelect: 0, maxSize: 4294967296, mimeTypes: [] },
|
||||
{ name: 'attachments_filename', type: 'text' },
|
||||
{ name: 'attachments_filetype', type: 'text' },
|
||||
{ name: 'attachments_size', type: 'number' },
|
||||
|
||||
Reference in New Issue
Block a user