ucservice 1.0.8 → 1.0.9

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.
@@ -25564,8 +25564,7 @@ let account = {
25564
25564
  message: '',
25565
25565
  systemTime: '',
25566
25566
  //yyyy-MM-dd HH:mm:ss
25567
- data: '' //返回更新成功的ID
25568
-
25567
+ data: ''
25569
25568
  }
25570
25569
  },
25571
25570
  deleteAccountNet: {
@@ -29938,6 +29937,23 @@ let $ = __webpack_require__("1157");
29938
29937
  const loadJson = function (url, param, backSuccfn, async, method, headers) {
29939
29938
  method = method ? method : 'POST';
29940
29939
  async = async == undefined ? true : async;
29940
+
29941
+ for (key in param) {
29942
+ //检测手机号码, 外地号码头部(非杭州)加00,本地号码加0
29943
+ if (/_phone01$/.test(key)) {
29944
+ let tel = key.replace(/_phone01$/, "");
29945
+
29946
+ if (param[key] == 0) {
29947
+ //外地号码
29948
+ param[tel] = "00" + param[tel];
29949
+ } else {
29950
+ param[tel] = "0" + param[tel];
29951
+ }
29952
+
29953
+ delete param[key];
29954
+ }
29955
+ }
29956
+
29941
29957
  let ajaxContent = {
29942
29958
  'method': method,
29943
29959
  'url': url,
@@ -31093,7 +31109,7 @@ const messageOp = sip => {
31093
31109
  if (ret.code == 0) {
31094
31110
  resolve(ret);
31095
31111
  } else {
31096
- console.log("删除短信失败", ret.code);
31112
+ console.log("查询接收短信列表失败", ret.code);
31097
31113
  reject(ret.code);
31098
31114
  }
31099
31115
  }, '', net.method);
@@ -31196,7 +31212,7 @@ const recordOp = sip => {
31196
31212
  if (ret.code == 0) {
31197
31213
  resolve(ret);
31198
31214
  } else {
31199
- console.log("分页查询通知音记录列表失败", ret.code);
31215
+ console.log("上传通知音失败", ret.code);
31200
31216
  reject(ret.code);
31201
31217
  }
31202
31218
  }, '', net.method);
Binary file