Skip to content

Commit fbf282f

Browse files
committed
feat:add apps and schema db
1 parent e731e10 commit fbf282f

6 files changed

Lines changed: 210 additions & 1100 deletions

File tree

mockServer/src/database/apps.db

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{"id":16,"createdBy":"6","lastUpdatedBy":"6","tenantId":"1","renterId":null,"siteId":null,"name":"dashboard","appWebsite":null,"platformHistoryId":"1","publishUrl":null,"editorUrl":null,"visitUrl":null,"assetsUrl":"template-cover-1","state":null,"homePage":null,"css":null,"config":{},"constants":null,"dataHandler":{},"description":"数据看板","latest":null,"gitGroup":null,"projectName":null,"branch":null,"isDemo":null,"isDefault":null,"templateType":null,"isTemplate":null,"industryId":null,"sceneId":null,"setTemplateTime":null,"setTemplateBy":null,"setDefaultBy":null,"framework":"Vue","defaultLang":null,"extendConfig":{},"dataHash":null,"canAssociate":null,"industry":[],"scene":[],"created_at":"2026-01-15 02:35:32","updated_at":"2026-01-15 02:35:32","platform":1,"image_url":null,"published":false,"global_state":[],"data_source_global":{},"_id":"epHKwpqjCPamtee4"}
2+
{"id":1,"createdBy":"1","lastUpdatedBy":"1","tenantId":"1","renterId":null,"siteId":"1","name":"portal-app","appWebsite":null,"platformHistoryId":"1","publishUrl":null,"editorUrl":null,"visitUrl":null,"assetsUrl":null,"state":null,"homePage":0,"css":null,"config":{},"constants":null,"dataHandler":{"type":"JSFunction","value":"function dataHanlder(res){\n return res;\n}"},"description":"demo应用","latest":"22","gitGroup":null,"projectName":null,"branch":"develop","isDemo":null,"isDefault":null,"templateType":"serviceDevelop","isTemplate":null,"industryId":null,"sceneId":null,"setTemplateTime":"2023-11-19T18:14:37","setTemplateBy":"1","setDefaultBy":"1","framework":"Vue","defaultLang":null,"extendConfig":{"business":{"serviceName":"","endpointName":"cce","endpointId":"ee","serviceId":"ee","router":"ee"},"env":{"alpha":{"regions":[{"name":"","baseUrl":"","isDefault":false}],"isDefault":true}},"type":"console"},"dataHash":"8b0eba6ad055532a586f9f669108fabb","canAssociate":"1","industry":[],"scene":[],"created_at":"2024-10-16 23:27:10","updated_at":"2024-10-16 23:27:10","platform":1,"image_url":null,"published":false,"global_state":[{"id":"test2","state":{"name1":"xxx1"},"getters":{"count":{"type":"JSFunction","value":"function count() {}"}},"actions":{"actions":{"type":"JSFunction","value":"function actions() {}"}}},{"id":"test3","state":{"name1":"xxx"},"getters":{"count":{"type":"JSFunction","value":"function count() {}"}},"actions":{"actions":{"type":"JSFunction","value":"function actions() {}"}}},{"id":"test4","state":{"region":"","scenario":"all","productId":"","planId":"","addEvs":false,"addHss":false,"addCbr":false,"period":{"value":1,"unit":"month"},"amount":1},"getters":{},"actions":{}},{"id":"test1","state":{"name1":"xxx"},"getters":{"count":{"type":"JSFunction","value":"function count() {}"}},"actions":{"actions":{"type":"JSFunction","value":"function actions() {}"}}}],"data_source_global":{"dataHandler":{"type":"JSFunction","value":"function dataHanlder(res){\n return res;\n}"}},"_id":"fBJD5wIbfFVsUdiQ"}

mockServer/src/database/appsSchema.db

Lines changed: 2 additions & 0 deletions
Large diffs are not rendered by default.

mockServer/src/mock/get/app-center/v1/apps/schema/1.json

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -690,63 +690,63 @@
690690
},
691691
"i18n": {
692692
"zh_CN": {
693-
"lowcode.cca8d0ea": "应用",
694-
"lowcode.c257d5e8": "查询",
695-
"lowcode.61c8ac8c": "地方",
696-
"lowcode.f53187a0": "测试",
697-
"lowcode.97ad00dd": "创建物料资产包",
698-
"lowcode.61dcef52": "terterere",
699-
"lowcode.45f4c42a": "gdfgdf",
700-
"lowcode.c6f5a652": "fsdaf",
701-
"lowcode.34923432": "fdsafdsa",
702-
"lowcode.48521e45": "fdsfds",
703-
"lowcode.6534943e": "fdsafds",
704-
"lowcode.44252642": "fdsafds",
705-
"lowcode.2a743651": "sda",
706-
"lowcode.24315357": "fdsafds",
707-
"lowcode.44621691": "fdsafsd",
708-
"lowcode.65636226": "fdsaf",
709-
"lowcode.6426a4e2": "sd",
710-
"lowcode.e41c6636": "aa",
711-
"lowcode.51c23164": "aa",
712-
"lowcode.17245b46": "aa",
713-
"lowcode.4573143c": "aa",
714-
"lowcode.56432442": "aa",
715-
"lowcode.33566643": "aa",
716-
"lowcode.565128f3": "aa",
717-
"lowcode.56643835": "aa",
718-
"lowcode.33311134": "aa",
719-
"lowcode.44326643": "aa",
720-
"lowcode.36223242": "aa"
693+
"lowcode_cca8d0ea": "应用",
694+
"lowcode_c257d5e8": "查询",
695+
"lowcode_61c8ac8c": "地方",
696+
"lowcode_f53187a0": "测试",
697+
"lowcode_97ad00dd": "创建物料资产包",
698+
"lowcode_61dcef52": "terterere",
699+
"lowcode_45f4c42a": "gdfgdf",
700+
"lowcode_c6f5a652": "fsdaf",
701+
"lowcode_34923432": "fdsafdsa",
702+
"lowcode_48521e45": "fdsfds",
703+
"lowcode_6534943e": "fdsafds",
704+
"lowcode_44252642": "fdsafds",
705+
"lowcode_2a743651": "sda",
706+
"lowcode_24315357": "fdsafds",
707+
"lowcode_44621691": "fdsafsd",
708+
"lowcode_65636226": "fdsaf",
709+
"lowcode_6426a4e2": "sd",
710+
"lowcode_e41c6636": "aa",
711+
"lowcode_51c23164": "aa",
712+
"lowcode_17245b46": "aa",
713+
"lowcode_4573143c": "aa",
714+
"lowcode_56432442": "aa",
715+
"lowcode_33566643": "aa",
716+
"lowcode_565128f3": "aa",
717+
"lowcode_56643835": "aa",
718+
"lowcode_33311134": "aa",
719+
"lowcode_44326643": "aa",
720+
"lowcode_36223242": "aa"
721721
},
722722
"en_US": {
723-
"lowcode.cca8d0ea": "app",
724-
"lowcode.c257d5e8": "search",
725-
"lowcode.61c8ac8c": "dsdsa",
726-
"lowcode.f53187a0": "test",
727-
"lowcode.97ad00dd": "createMaterial",
728-
"lowcode.61dcef52": "sadasda",
729-
"lowcode.45f4c42a": "gfdgfd",
730-
"lowcode.c6f5a652": "fsdafds",
731-
"lowcode.34923432": "fdsafds",
732-
"lowcode.6534943e": "fdsafdsa",
733-
"lowcode.44252642": "aaaa",
734-
"lowcode.2a743651": "fdsaf",
735-
"lowcode.24315357": "fsdafds",
736-
"lowcode.44621691": "sd",
737-
"lowcode.65636226": "fdsfsd",
738-
"lowcode.6426a4e2": "fdsafsd",
739-
"lowcode.e41c6636": "aa",
740-
"lowcode.51c23164": "aa",
741-
"lowcode.17245b46": "aa",
742-
"lowcode.4573143c": "a",
743-
"lowcode.56432442": "aa",
744-
"lowcode.33566643": "aa",
745-
"lowcode.565128f3": "aa",
746-
"lowcode.56643835": "aa",
747-
"lowcode.33311134": "aa",
748-
"lowcode.44326643": "aa",
749-
"lowcode.36223242": "aa"
723+
"lowcode_cca8d0ea": "app",
724+
"lowcode_c257d5e8": "search",
725+
"lowcode_61c8ac8c": "dsdsa",
726+
"lowcode_f53187a0": "test",
727+
"lowcode_97ad00dd": "createMaterial",
728+
"lowcode_61dcef52": "sadasda",
729+
"lowcode_45f4c42a": "gfdgfd",
730+
"lowcode_c6f5a652": "fsdafds",
731+
"lowcode_34923432": "fdsafds",
732+
"lowcode_6534943e": "fdsafdsa",
733+
"lowcode_44252642": "aaaa",
734+
"lowcode_2a743651": "fdsaf",
735+
"lowcode_24315357": "fsdafds",
736+
"lowcode_44621691": "sd",
737+
"lowcode_65636226": "fdsfsd",
738+
"lowcode_6426a4e2": "fdsafsd",
739+
"lowcode_e41c6636": "aa",
740+
"lowcode_51c23164": "aa",
741+
"lowcode_17245b46": "aa",
742+
"lowcode_4573143c": "a",
743+
"lowcode_56432442": "aa",
744+
"lowcode_33566643": "aa",
745+
"lowcode_565128f3": "aa",
746+
"lowcode_56643835": "aa",
747+
"lowcode_33311134": "aa",
748+
"lowcode_44326643": "aa",
749+
"lowcode_36223242": "aa"
750750
}
751751
},
752752
"componentsTree": [

0 commit comments

Comments
 (0)