作者 yangfu

fix:organizationId -> orgId

add:app upgrade
version: v1
kind: Attribute
metadata:
name: organizationId
name: orgId
description: 组织ID
type:
primitive: int64
... ...
version: v1
kind: Schema
metadata:
name: app
description: app项目管理
attributes:
- name: appId
description: appId
type:
primitive: int64
- name: project
description: 项目标识 ability
type:
primitive: string
- name: app
description: 应用标识 ability.boss.pad
type:
primitive: string
- name: icon
description: 图标地址
type:
primitive: string
- name: remark
description: 备注信息
type:
primitive: string
- ref: createAt
required: true
- ref: updateAt
required: true
- ref: deleteAt
required: true
\ No newline at end of file
... ...
version: v1
kind: Schema
metadata:
name: appVersion
description: App版本管理
attributes:
- name: appVersionId
description: app版本id
type:
primitive: int64
- name: app
description: 应用
type:
schema: app
- name: os
description: 设备类型 0:IOS 1:安卓
type:
primitive: int
- name: version
description: 版本信息
type:
schema: appVersionInfo
- name: remark
description: 备注信息
type:
primitive: string
- ref: createAt
required: true
- ref: updateAt
required: true
- ref: deleteAt
required: true
... ...
version: v1
kind: Schema
metadata:
name: appVersionInfo
description: app 版本信息
attributes:
- name: versionNo
description: 版本号
type:
primitive: string
- name: versionName
description: 版本名称
type:
primitive: string
- name: title
description: 标题
type:
primitive: string
- name: summary
description: 版本概要
type:
primitive: string
- name: content
description: 版本内容
type:
primitive: string
- name: deviceType
description: 设备类型 0:ios , 1:android
type:
primitive: int
- name: downloadPage
description: 下载页面
type:
primitive: string
- name: downloadFile
description: 文件下载地址
type:
primitive: string
- name: updateType
description: 更新类型 0不需要更新 1是引导更新 2是强制更新
type:
primitive: int
- name: channel
description: 更新的渠道 当前渠道 0_AppStore、1_fir平台、2_华为、3_小米、4_魅族、5_oppo、6_vivo、7_360、8_百度、9_应用宝、10_其他(使用应用宝地址)
type:
array: int
\ No newline at end of file
... ...
version: v1
kind: Schema
metadata:
name: organization
description: 组织 (base)
name: org
description: 组织 organization
attributes:
- ref: organizationId
- ref: orgId
required: true
- ref: companyId
required: true
... ...
... ... @@ -8,7 +8,7 @@ metadata:
required: true
- ref: companyId
required: true
- ref: organizationId
- ref: orgId
required: true
- ref: roleName
required: true
... ...