config.js
6.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/* 项目配置.基于默认配置,可以通过
http://www.example.com/PUBLIC_PATH/web_adapter/adapter.html
访问自己的 app.如有修改,请对应变换访问地址即可.
服务器静态部署目录 PUBLIC_PATH,默认为用户 appId
*/
/* ==================== 用户相关配置.可根据需要,灵活修改. ============= */
/* app 入口文件. */
var APP_INDEX_PATH = '/html/common/index_win.html'
/* ====================== 以下适配器相关配置,一般不需要修改.=================== */
/* 适配器入口文件. */
var WEB_ADAPTER_INDEX_PATH = 'web_adapter/adapter.html'
/* 适配器核心js文件. */
var WEB_ADAPTER_CORE_JS_PATH = 'web_adapter/script/adapter.js'
/* =================== 应用和模块相关信息.一般由 APICloud 服务器自动生成.============= */
var PUBLIC_PATH = '/A6079080424317/'
var APP_INFO = {
appId: 'A6079080424317',
version: '1.2.23',
appVersion: '00.00.01',
appName: '慈界医养'
}
var MODULES_INFO = [{
"name": "aliPay",
"class": "UZAliPay",
"methods": ["pay", "config", "payOrder", "auth"]
}
, {
"name": "aMap",
"class": "GDMap",
"methods": ["open", "takeSnapshotInRect", "close", "show", "hide", "setRect", "getLocation", "stopLocation", "getCoordsFromName", "getNameFromCoords", "getDistance", "showUserLocation", "setTrackingMode", "setCenter", "getCenter", "setZoomLevel", "getZoomLevel", "setMapAttr", "setRotation", "getRotation", "setOverlook", "getOverlook", "setRegion", "getRegion", "setScaleBar", "setCompass", "setLogo", "isPolygonContainsPoint", "interconvertCoords", "addEventListener", "removeEventListener", "addAnnotations", "getAnnotationCoords", "setAnnotationCoords", "annotationExist", "setBubble", "popupBubble", "closeBubble", "addBillboard", "addMobileAnnotations", "moveAnnotation", "removeAnnotations", "addLine", "addArc", "addPolygon", "addCircle", "addImg", "addLocus", "removeOverlay", "searchRoute", "drawRoute", "removeRoute", "searchBusRoute", "drawBusRoute", "removeBusRoute", "autocomplete", "searchInCity", "searchNearby", "searchInPolygon", "getProvinces", "getMunicipalities", "getNationWide", "getAllCities", "getVersion", "downloadRegion", "isDownloading", "pauseDownload", "cancelAllDownload", "clearDisk", "checkNewestVersion", "reloadMap", "setWebBubble", "districtSearch", "isShowsIndoorMap", "showsIndoorMap", "isShowsIndoorMapControl", "showsIndoorMapControl", "indoorMapControlSize", "setIndoorMapControlOrigin", "setCurrentIndoorMapFloorIndex", "clearIndoorMapCache", "addWebBubbleListener", "removeWebBubbleListener", "addHeatMap", "refreshHeatMap", "addMultiPoint", "addMoveAnimation", "cancelMoveAnimation", "convertCoordinate", "processedTrace", "cancelProcessedTrace", "getCitiesByProvince"]
}
, {
"name": "clipBoard",
"class": "UZClipBoard",
"methods": ["set", "get", "setListener", "removeListener"]
}
, {
"name": "FNScanner",
"class": "UZFNScanner",
"methods": ["open", "openScanner", "openView", "closeView", "decodeImg", "encodeImg", "switchLight", "setFrame", "onPause", "onResume"]
}
, {
"name": "mam",
"class": "UZMAM",
"methods": ["checkUpdate", "addEvent", "execCommand", "showToastAlert", "hideToastAlert"],
"syncMethods": ["syncExecCommand"],
"launchClassMethod": "launch"
}
, {
"name": "photoBrowser",
"class": "ACPhotoBrowser",
"methods": ["open", "close", "show", "hide", "getIndex", "setIndex", "getImage", "setImage", "appendImage", "deleteImage", "clearCache"]
}
, {
"name": "qq",
"class": "UZQQ",
"methods": ["installed", "login", "logout", "shareText", "shareImage", "shareNews", "shareMusic", "shareVideo", "getUserInfo"]
}
, {
"name": "rongCloud2",
"class": "RongCloud",
"methods": [
"init", "connect", "reconnect", "disconnect", "setConnectionStatusListener", "logout",
"sendTextMessage", "sendImageMessage", "sendVoiceMessage", "sendLocationMessage",
"sendRichContentMessage", "sendCommandNotificationMessage", "setOnReceiveMessageListener",
"getConversationList", "getConversationListByCount", "getConversation", "removeConversation",
"clearConversations", "setConversationToTop",
"getConversationNotificationStatus", "setConversationNotificationStatus",
"getLatestMessages", "getHistoryMessages", "getHistoryMessagesByObjectName",
"deleteMessages", "clearMessages",
"getTotalUnreadCount", "getUnreadCount", "getUnreadCountByConversationTypes",
"setMessageReceivedStatus", "clearMessagesUnreadStatus",
"setMessageExtra",
"getTextMessageDraft", "saveTextMessageDraft", "clearTextMessageDraft",
"createDiscussion", "getDiscussion", "setDiscussionName", "addMemberToDiscussion",
"removeMemberFromDiscussion", "quitDiscussion", "setDiscussionInviteStatus",
"syncGroup", "joinGroup", "quitGroup", "getMessageCount", "getTopConversationList", "getBlockedConversationList",
"joinChatRoom", "quitChatRoom", "getConnectionStatus", "getRemoteHistoryMessages", "setMessageSentStatus", "getCurrentUserId", "addToBlacklist", "removeFromBlacklist", "getBlacklistStatus", "getBlacklist", "setNotificationQuietHours", "removeNotificationQuietHours", "getNotificationQuietHours", "sendCommandMessage", "disableLocalNotification", "startNativeSingleCall", "startNativeMultiCall", "startNativeCustomerService", "setUserInfoProvider", "refreshUserInfo", "startCustomerService", "stopCustomerService", "selectCustomerServiceGroup", "switchToHumanMode", "evaluateRobotCustomerService", "evaluateHumanCustomerService", "addTypingStatusListener", "sendTypingStatus"
],
"launchClassMethod": "launch"
}
, {
"name": "UICityList",
"class": "UZUICityList",
"methods": ["open", "close", "hide", "show"]
}
, {
"name": "wx",
"class": "UZWX",
"methods": ["isInstalled", "shareText", "shareImage", "shareMusic", "shareVideo", "shareWebpage", "shareProgram", "launchMiniProgram", "auth", "getToken", "getUserInfo", "refreshToken"]
}
, {
"name": "wxPay",
"class": "UZWxPay",
"methods": ["getToken", "getOrderId", "payOrder", "config", "pay"]
}
, {
"name": "zhiChiSobot",
"class": "ZCSobotServerAPI",
"methods": ["startZhiChiSobot", "getUnReadMessage", "closeSobotChat"]
}
]