From c7336060df9c0998b824c3303c4850996330594f Mon Sep 17 00:00:00 2001 From: jiarongping Date: Tue, 10 May 2022 14:52:26 +0800 Subject: [PATCH] fix: update table uni-stat-app-platforms --- collection/uni-stat-app-platforms/collection.json | 2 +- collection/uni-stat-app-platforms/data.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/collection/uni-stat-app-platforms/collection.json b/collection/uni-stat-app-platforms/collection.json index dbdaf95..48dceb1 100644 --- a/collection/uni-stat-app-platforms/collection.json +++ b/collection/uni-stat-app-platforms/collection.json @@ -1 +1 @@ -{"schema":{"bsonType":"object","description":"提供应用的平台字典","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"code":{"bsonType":"string","description":"平台代码,前端上报"},"name":{"bsonType":"string","description":"平台名称,管理端显示"},"order":{"bsonType":"int","description":"序号,前端页面排序使用","defaultValue":0},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_platforms","MgoKeySchema":{"MgoIndexKeys":[{"Name":"code","Direction":"1"}],"MgoIsUnique":true}}]} \ No newline at end of file +{"schema":{"bsonType":"object","description":"提供应用的平台字典","required":[],"permission":{"read":false,"create":false,"update":false,"delete":false},"properties":{"_id":{"description":"ID,系统自动生成"},"code":{"bsonType":"string","description":"平台代码,前端上报"},"name":{"bsonType":"string","description":"平台名称,管理端显示"},"order":{"bsonType":"int","description":"序号,前端页面排序使用","defaultValue":0},"enable":{"bsonType":"bool","description":"是否启动","defaultValue":true,"enum":[{"text":"否","value":false},{"text":"是","value":true}]},"create_time":{"bsonType":"timestamp","description":"创建时间"}}},"index":[{"IndexName":"index_search_platforms","MgoKeySchema":{"MgoIndexKeys":[{"Name":"code","Direction":"1"}],"MgoIsUnique":true}}]} \ No newline at end of file diff --git a/collection/uni-stat-app-platforms/data.json b/collection/uni-stat-app-platforms/data.json index 5955370..b135a68 100644 --- a/collection/uni-stat-app-platforms/data.json +++ b/collection/uni-stat-app-platforms/data.json @@ -1 +1 @@ -[{"name":"App-Android","code":"android","order":1,"create_time":163998979103},{"name":"App-iOS","code":"ios","order":2,"create_time":163998979103},{"name":"Web","code":"web","order":3,"create_time":163998979103},{"name":"微信小程序","code":"mp-weixin","order":4,"create_time":163998979103},{"name":"百度小程序","code":"mp-baidu","order":5,"create_time":163998979103},{"name":"支付宝小程序","code":"mp-alipay","order":6,"create_time":163998979103},{"name":"字节跳动小程序","code":"mp-toutiao","order":7,"create_time":163998979103},{"name":"qq小程序","code":"mp-qq","order":8,"create_time":163998979103},{"name":"快应用联盟","code":"quickapp-webview-union","order":9,"create_time":163998979103},{"name":"快应用华为","code":"quickapp-webview-huawei","order":10,"create_time":163998979103},{"name":"钉钉小程序","code":"mp-dingtalk","order":11,"create_time":163998979103},{"name":"快手小程序","code":"mp-kuaishou","order":12,"create_time":163998979103},{"name":"飞书小程序","code":"mp-lark","order":13,"create_time":163998979103},{"name":"京东小程序","code":"mp-jd","order":14,"create_time":163998979103}] \ No newline at end of file +[{"name":"App-Android","code":"android","order":1,"enable":true,"create_time":163998979103},{"name":"App-iOS","code":"ios","order":2,"enable":true,"create_time":163998979103},{"name":"Web","code":"web","order":3,"enable":true,"create_time":163998979103},{"name":"微信小程序","code":"mp-weixin","order":4,"enable":true,"create_time":163998979103},{"name":"百度小程序","code":"mp-baidu","order":5,"enable":true,"create_time":163998979103},{"name":"支付宝小程序","code":"mp-alipay","order":6,"enable":true,"create_time":163998979103},{"name":"字节跳动小程序","code":"mp-toutiao","order":7,"enable":true,"create_time":163998979103},{"name":"qq小程序","code":"mp-qq","order":8,"enable":true,"create_time":163998979103},{"name":"快应用联盟","code":"quickapp-webview-union","order":9,"enable":true,"create_time":163998979103},{"name":"快应用华为","code":"quickapp-webview-huawei","order":10,"enable":true,"create_time":163998979103},{"name":"钉钉小程序","code":"mp-dingtalk","order":11,"enable":true,"create_time":163998979103},{"name":"快手小程序","code":"mp-kuaishou","order":12,"enable":true,"create_time":163998979103},{"name":"飞书小程序","code":"mp-lark","order":13,"enable":true,"create_time":163998979103},{"name":"京东小程序","code":"mp-jd","order":14,"enable":true,"create_time":163998979103}] \ No newline at end of file