ucservice 1.0.8 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +36 -0
- package/README.md +37 -0
- package/dist/ucservice.common.js +21 -5
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +21 -5
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +1 -1
- package/dist/ucservice.umd.min.js.gz +0 -0
- package/dist/ucservice.umd.min.js.map +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
- package/src/common-request.js +11 -0
- package/src/net_url/account_net_url.js +1 -1
- package/src/net_url/meet_url.js +1 -1
package/README.en.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# ucservice
|
|
2
|
+
|
|
3
|
+
#### Description
|
|
4
|
+
使用janus,cometd等技术组建成配套叙简通信软件的通信服务组件
|
|
5
|
+
|
|
6
|
+
#### Software Architecture
|
|
7
|
+
Software architecture description
|
|
8
|
+
|
|
9
|
+
#### Installation
|
|
10
|
+
|
|
11
|
+
1. xxxx
|
|
12
|
+
2. xxxx
|
|
13
|
+
3. xxxx
|
|
14
|
+
|
|
15
|
+
#### Instructions
|
|
16
|
+
|
|
17
|
+
1. xxxx
|
|
18
|
+
2. xxxx
|
|
19
|
+
3. xxxx
|
|
20
|
+
|
|
21
|
+
#### Contribution
|
|
22
|
+
|
|
23
|
+
1. Fork the repository
|
|
24
|
+
2. Create Feat_xxx branch
|
|
25
|
+
3. Commit your code
|
|
26
|
+
4. Create Pull Request
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
#### Gitee Feature
|
|
30
|
+
|
|
31
|
+
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
|
32
|
+
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
|
33
|
+
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
|
34
|
+
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
|
35
|
+
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
|
36
|
+
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# ucservice
|
|
2
|
+
|
|
3
|
+
#### 介绍
|
|
4
|
+
使用janus,cometd等技术组建成配套叙简通信软件的通信服务组件
|
|
5
|
+
|
|
6
|
+
#### 软件架构
|
|
7
|
+
软件架构说明
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
#### 安装教程
|
|
11
|
+
|
|
12
|
+
1. xxxx
|
|
13
|
+
2. xxxx
|
|
14
|
+
3. xxxx
|
|
15
|
+
|
|
16
|
+
#### 使用说明
|
|
17
|
+
|
|
18
|
+
1. xxxx
|
|
19
|
+
2. xxxx
|
|
20
|
+
3. xxxx
|
|
21
|
+
|
|
22
|
+
#### 参与贡献
|
|
23
|
+
|
|
24
|
+
1. Fork 本仓库
|
|
25
|
+
2. 新建 Feat_xxx 分支
|
|
26
|
+
3. 提交代码
|
|
27
|
+
4. 新建 Pull Request
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
#### 特技
|
|
31
|
+
|
|
32
|
+
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
|
33
|
+
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
34
|
+
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
|
|
35
|
+
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
|
|
36
|
+
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
37
|
+
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
package/dist/ucservice.common.js
CHANGED
|
@@ -25555,8 +25555,7 @@ let account = {
|
|
|
25555
25555
|
message: '',
|
|
25556
25556
|
systemTime: '',
|
|
25557
25557
|
//yyyy-MM-dd HH:mm:ss
|
|
25558
|
-
data: ''
|
|
25559
|
-
|
|
25558
|
+
data: ''
|
|
25560
25559
|
}
|
|
25561
25560
|
},
|
|
25562
25561
|
deleteAccountNet: {
|
|
@@ -28487,7 +28486,7 @@ let meet = {
|
|
|
28487
28486
|
|
|
28488
28487
|
/***查询当前所有会场信息
|
|
28489
28488
|
**/
|
|
28490
|
-
url: '/dispatch-web/api/meet/
|
|
28489
|
+
url: '/dispatch-web/api/meet/listMeets',
|
|
28491
28490
|
requestParam: {
|
|
28492
28491
|
token: ''
|
|
28493
28492
|
},
|
|
@@ -29929,6 +29928,23 @@ let $ = __webpack_require__("1157");
|
|
|
29929
29928
|
const loadJson = function (url, param, backSuccfn, async, method, headers) {
|
|
29930
29929
|
method = method ? method : 'POST';
|
|
29931
29930
|
async = async == undefined ? true : async;
|
|
29931
|
+
|
|
29932
|
+
for (let key in param) {
|
|
29933
|
+
//检测手机号码, 外地号码头部(非杭州)加00,本地号码加0
|
|
29934
|
+
if (/_phone01$/.test(key)) {
|
|
29935
|
+
let tel = key.replace(/_phone01$/, "");
|
|
29936
|
+
|
|
29937
|
+
if (param[key] == 0) {
|
|
29938
|
+
//外地号码
|
|
29939
|
+
param[tel] = "00" + param[tel];
|
|
29940
|
+
} else {
|
|
29941
|
+
param[tel] = "0" + param[tel];
|
|
29942
|
+
}
|
|
29943
|
+
|
|
29944
|
+
delete param[key];
|
|
29945
|
+
}
|
|
29946
|
+
}
|
|
29947
|
+
|
|
29932
29948
|
let ajaxContent = {
|
|
29933
29949
|
'method': method,
|
|
29934
29950
|
'url': url,
|
|
@@ -31084,7 +31100,7 @@ const messageOp = sip => {
|
|
|
31084
31100
|
if (ret.code == 0) {
|
|
31085
31101
|
resolve(ret);
|
|
31086
31102
|
} else {
|
|
31087
|
-
console.log("
|
|
31103
|
+
console.log("查询接收短信列表失败", ret.code);
|
|
31088
31104
|
reject(ret.code);
|
|
31089
31105
|
}
|
|
31090
31106
|
}, '', net.method);
|
|
@@ -31187,7 +31203,7 @@ const recordOp = sip => {
|
|
|
31187
31203
|
if (ret.code == 0) {
|
|
31188
31204
|
resolve(ret);
|
|
31189
31205
|
} else {
|
|
31190
|
-
console.log("
|
|
31206
|
+
console.log("上传通知音失败", ret.code);
|
|
31191
31207
|
reject(ret.code);
|
|
31192
31208
|
}
|
|
31193
31209
|
}, '', net.method);
|
|
Binary file
|