Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ChenYFan_OHHH
uni-app
提交
a28e4205
U
uni-app
项目概览
ChenYFan_OHHH
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a28e4205
编写于
6月 16, 2022
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: getPushClientid => getPushClientId
上级
a49cfa4b
变更
15
显示空白变更内容
内联
并排
Showing
15 changed file
with
49 addition
and
49 deletion
+49
-49
packages/uni-api/src/service/plugin/push.ts
packages/uni-api/src/service/plugin/push.ts
+3
-3
packages/uni-app-plus/dist/uni.runtime.esm.js
packages/uni-app-plus/dist/uni.runtime.esm.js
+4
-4
packages/uni-app-plus/src/service/api/index.ts
packages/uni-app-plus/src/service/api/index.ts
+1
-1
packages/uni-h5-vite/lib/api.json
packages/uni-h5-vite/lib/api.json
+1
-1
packages/uni-h5/dist/uni-h5.es.js
packages/uni-h5/dist/uni-h5.es.js
+5
-5
packages/uni-h5/src/service/api/index.ts
packages/uni-h5/src/service/api/index.ts
+1
-1
packages/uni-mp-alipay/dist/uni.api.esm.js
packages/uni-mp-alipay/dist/uni.api.esm.js
+4
-4
packages/uni-mp-baidu/dist/uni.api.esm.js
packages/uni-mp-baidu/dist/uni.api.esm.js
+4
-4
packages/uni-mp-core/src/api/index.ts
packages/uni-mp-core/src/api/index.ts
+2
-2
packages/uni-mp-kuaishou/dist/uni.api.esm.js
packages/uni-mp-kuaishou/dist/uni.api.esm.js
+4
-4
packages/uni-mp-lark/dist/uni.api.esm.js
packages/uni-mp-lark/dist/uni.api.esm.js
+4
-4
packages/uni-mp-qq/dist/uni.api.esm.js
packages/uni-mp-qq/dist/uni.api.esm.js
+4
-4
packages/uni-mp-toutiao/dist/uni.api.esm.js
packages/uni-mp-toutiao/dist/uni.api.esm.js
+4
-4
packages/uni-mp-weixin/dist/uni.api.esm.js
packages/uni-mp-weixin/dist/uni.api.esm.js
+4
-4
packages/uni-quickapp-webview/dist/uni.api.esm.js
packages/uni-quickapp-webview/dist/uni.api.esm.js
+4
-4
未找到文件。
packages/uni-api/src/service/plugin/push.ts
浏览文件 @
a28e4205
...
...
@@ -75,7 +75,7 @@ function invokeGetPushCidCallbacks(cid?: string, errMsg?: string) {
getPushCidCallbacks
.
length
=
0
}
export
function
getPushClient
i
d
(
args
:
GetPushCidOptions
)
{
export
function
getPushClient
I
d
(
args
:
GetPushCidOptions
)
{
if
(
!
isPlainObject
(
args
))
{
args
=
{}
}
...
...
@@ -86,10 +86,10 @@ export function getPushClientid(args: GetPushCidOptions) {
getPushCidCallbacks
.
push
((
cid
?:
string
,
errMsg
?:
string
)
=>
{
let
res
:
Record
<
string
,
unknown
>
if
(
cid
)
{
res
=
{
errMsg
:
'
getPushClient
i
d:ok
'
,
cid
}
res
=
{
errMsg
:
'
getPushClient
I
d:ok
'
,
cid
}
hasSuccess
&&
success
(
res
)
}
else
{
res
=
{
errMsg
:
'
getPushClient
i
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
}
res
=
{
errMsg
:
'
getPushClient
I
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
}
hasFail
&&
fail
(
res
)
}
hasComplete
&&
complete
(
res
)
...
...
packages/uni-app-plus/dist/uni.runtime.esm.js
浏览文件 @
a28e4205
...
...
@@ -11115,7 +11115,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClient
i
d(args) {
function getPushClient
I
d(args) {
if (!isPlainObject(args)) {
args = {};
}
...
...
@@ -11126,11 +11126,11 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushClient
i
d:ok', cid };
res = { errMsg: 'getPushClient
I
d:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushClient
i
d:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClient
I
d:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
...
...
@@ -19038,7 +19038,7 @@ var uni$1 = {
setPageMeta: setPageMeta,
getEnterOptionsSync: getEnterOptionsSync,
getLaunchOptionsSync: getLaunchOptionsSync,
getPushClient
id: getPushClienti
d,
getPushClient
Id: getPushClientI
d,
onPushMessage: onPushMessage,
offPushMessage: offPushMessage,
onAppHide: onAppHide,
...
...
packages/uni-app-plus/src/service/api/index.ts
浏览文件 @
a28e4205
...
...
@@ -121,7 +121,7 @@ export {
setPageMeta
,
getEnterOptionsSync
,
getLaunchOptionsSync
,
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
onAppHide
,
...
...
packages/uni-h5-vite/lib/api.json
浏览文件 @
a28e4205
...
...
@@ -44,7 +44,7 @@
"getLocation"
,
"getNetworkType"
,
"getProvider"
,
"getPushClient
i
d"
,
"getPushClient
I
d"
,
"getRealPath"
,
"getRecorderManager"
,
"getRightWindowStyle"
,
...
...
packages/uni-h5/dist/uni-h5.es.js
浏览文件 @
a28e4205
...
...
@@ -4619,7 +4619,7 @@ function invokeGetPushCidCallbacks(cid2, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClient
i
d(args) {
function getPushClient
I
d(args) {
if (!isPlainObject(args)) {
args = {};
}
...
...
@@ -4630,10 +4630,10 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid2, errMsg) => {
let res;
if (cid2) {
res = { errMsg: "getPushClient
i
d:ok", cid: cid2 };
res = { errMsg: "getPushClient
I
d:ok", cid: cid2 };
hasSuccess && success(res);
} else {
res = { errMsg: "getPushClient
i
d:fail" + (errMsg ? " " + errMsg : "") };
res = { errMsg: "getPushClient
I
d:fail" + (errMsg ? " " + errMsg : "") };
hasFail && fail(res);
}
hasComplete && complete(res);
...
...
@@ -20266,7 +20266,7 @@ var api = /* @__PURE__ */ Object.defineProperty({
setPageMeta,
getEnterOptionsSync,
getLaunchOptionsSync,
getPushClient
i
d,
getPushClient
I
d,
onPushMessage,
offPushMessage,
onAppHide,
...
...
@@ -22512,4 +22512,4 @@ var index = /* @__PURE__ */ defineSystemComponent({
return openBlock(), createBlock("div", clazz, [loadingVNode]);
}
});
export { $emit, $off, $on, $once, index$8 as Ad, index$7 as AdContentPage, index$6 as AdDraw, index$1 as AsyncErrorComponent, index as AsyncLoadingComponent, index$y as Button, index$5 as Camera, index$w as Canvas, index$u as Checkbox, index$v as CheckboxGroup, index$a as CoverImage, index$b as CoverView, index$t as Editor, index$A as Form, index$s as Icon, index$r as Image, Input, index$z as Label, LayoutComponent, index$4 as LivePlayer, index$3 as LivePusher, Map$1 as Map, MovableArea, MovableView, index$q as Navigator, index$2 as PageComponent, index$9 as Picker, PickerView, PickerViewColumn, index$p as Progress, index$n as Radio, index$o as RadioGroup, ResizeSensor, index$m as RichText, ScrollView, index$l as Slider, Swiper, SwiperItem, index$k as Switch, index$j as Text, index$i as Textarea, UniServiceJSBridge$1 as UniServiceJSBridge, UniViewJSBridge$1 as UniViewJSBridge, index$e as Video, index$h as View, index$d as WebView, addInterceptor, addPhoneContact, arrayBufferToBase64, base64ToArrayBuffer, canIUse, canvasGetImageData, canvasPutImageData, canvasToTempFilePath, chooseFile, chooseImage, chooseLocation, chooseVideo, clearStorage, clearStorageSync, closePreviewImage, closeSocket, connectSocket, createAnimation$1 as createAnimation, createCameraContext, createCanvasContext, createInnerAudioContext, createIntersectionObserver, createLivePlayerContext, createMapContext, createMediaQueryObserver, createSelectorQuery, createVideoContext, cssBackdropFilter, cssConstant, cssEnv, cssVar, downloadFile, getApp$1 as getApp, getAppBaseInfo, getClipboardData, getCurrentPages$1 as getCurrentPages, getDeviceInfo, getEnterOptionsSync, getFileInfo, getImageInfo, getLaunchOptionsSync, getLeftWindowStyle, getLocale, getLocation, getNetworkType, getProvider, getPushClient
i
d, getRealPath, getRecorderManager, getRightWindowStyle, getSavedFileInfo, getSavedFileList, getScreenBrightness, getSelectedTextRange$1 as getSelectedTextRange, getStorage, getStorageInfo, getStorageInfoSync, getStorageSync, getSystemInfo, getSystemInfoSync, getTopWindowStyle, getVideoInfo, getWindowInfo, hideKeyboard, hideLeftWindow, hideLoading, hideNavigationBarLoading, hideRightWindow, hideTabBar, hideTabBarRedDot, hideToast, hideTopWindow, interceptors, invokePushCallback, loadFontFace, login, makePhoneCall, navigateBack, navigateTo, offAccelerometerChange, offAppHide, offAppShow, offCompassChange, offError, offNetworkStatusChange, offPageNotFound, offPushMessage, offUnhandledRejection, offWindowResize, onAccelerometerChange, onAppHide, onAppShow, onCompassChange, onError, onGyroscopeChange, onLocaleChange, onMemoryWarning, onNetworkStatusChange, onPageNotFound, onPushMessage, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onTabBarMidButtonTap, onUnhandledRejection, onUserCaptureScreen, onWindowResize, openDocument, openLocation, pageScrollTo, index$f as plugin, preloadPage, previewImage, reLaunch, redirectTo, removeInterceptor, removeSavedFileInfo, removeStorage, removeStorageSync, removeTabBarBadge, request, saveFile, saveImageToPhotosAlbum, saveVideoToPhotosAlbum, scanCode, sendSocketMessage, setClipboardData, setKeepScreenOn, setLeftWindowStyle, setLocale, setNavigationBarColor, setNavigationBarTitle, setPageMeta, setRightWindowStyle, setScreenBrightness, setStorage, setStorageSync, setTabBarBadge, setTabBarItem, setTabBarStyle, setTopWindowStyle, setupApp, setupPage, setupWindow, showActionSheet, showLeftWindow, showLoading, showModal, showNavigationBarLoading, showRightWindow, showTabBar, showTabBarRedDot, showToast, showTopWindow, startAccelerometer, startCompass, startGyroscope, startPullDownRefresh, stopAccelerometer, stopCompass, stopGyroscope, stopPullDownRefresh, switchTab, uni$1 as uni, uploadFile, upx2px, useI18n, useTabBar, vibrateLong, vibrateShort };
export { $emit, $off, $on, $once, index$8 as Ad, index$7 as AdContentPage, index$6 as AdDraw, index$1 as AsyncErrorComponent, index as AsyncLoadingComponent, index$y as Button, index$5 as Camera, index$w as Canvas, index$u as Checkbox, index$v as CheckboxGroup, index$a as CoverImage, index$b as CoverView, index$t as Editor, index$A as Form, index$s as Icon, index$r as Image, Input, index$z as Label, LayoutComponent, index$4 as LivePlayer, index$3 as LivePusher, Map$1 as Map, MovableArea, MovableView, index$q as Navigator, index$2 as PageComponent, index$9 as Picker, PickerView, PickerViewColumn, index$p as Progress, index$n as Radio, index$o as RadioGroup, ResizeSensor, index$m as RichText, ScrollView, index$l as Slider, Swiper, SwiperItem, index$k as Switch, index$j as Text, index$i as Textarea, UniServiceJSBridge$1 as UniServiceJSBridge, UniViewJSBridge$1 as UniViewJSBridge, index$e as Video, index$h as View, index$d as WebView, addInterceptor, addPhoneContact, arrayBufferToBase64, base64ToArrayBuffer, canIUse, canvasGetImageData, canvasPutImageData, canvasToTempFilePath, chooseFile, chooseImage, chooseLocation, chooseVideo, clearStorage, clearStorageSync, closePreviewImage, closeSocket, connectSocket, createAnimation$1 as createAnimation, createCameraContext, createCanvasContext, createInnerAudioContext, createIntersectionObserver, createLivePlayerContext, createMapContext, createMediaQueryObserver, createSelectorQuery, createVideoContext, cssBackdropFilter, cssConstant, cssEnv, cssVar, downloadFile, getApp$1 as getApp, getAppBaseInfo, getClipboardData, getCurrentPages$1 as getCurrentPages, getDeviceInfo, getEnterOptionsSync, getFileInfo, getImageInfo, getLaunchOptionsSync, getLeftWindowStyle, getLocale, getLocation, getNetworkType, getProvider, getPushClient
I
d, getRealPath, getRecorderManager, getRightWindowStyle, getSavedFileInfo, getSavedFileList, getScreenBrightness, getSelectedTextRange$1 as getSelectedTextRange, getStorage, getStorageInfo, getStorageInfoSync, getStorageSync, getSystemInfo, getSystemInfoSync, getTopWindowStyle, getVideoInfo, getWindowInfo, hideKeyboard, hideLeftWindow, hideLoading, hideNavigationBarLoading, hideRightWindow, hideTabBar, hideTabBarRedDot, hideToast, hideTopWindow, interceptors, invokePushCallback, loadFontFace, login, makePhoneCall, navigateBack, navigateTo, offAccelerometerChange, offAppHide, offAppShow, offCompassChange, offError, offNetworkStatusChange, offPageNotFound, offPushMessage, offUnhandledRejection, offWindowResize, onAccelerometerChange, onAppHide, onAppShow, onCompassChange, onError, onGyroscopeChange, onLocaleChange, onMemoryWarning, onNetworkStatusChange, onPageNotFound, onPushMessage, onSocketClose, onSocketError, onSocketMessage, onSocketOpen, onTabBarMidButtonTap, onUnhandledRejection, onUserCaptureScreen, onWindowResize, openDocument, openLocation, pageScrollTo, index$f as plugin, preloadPage, previewImage, reLaunch, redirectTo, removeInterceptor, removeSavedFileInfo, removeStorage, removeStorageSync, removeTabBarBadge, request, saveFile, saveImageToPhotosAlbum, saveVideoToPhotosAlbum, scanCode, sendSocketMessage, setClipboardData, setKeepScreenOn, setLeftWindowStyle, setLocale, setNavigationBarColor, setNavigationBarTitle, setPageMeta, setRightWindowStyle, setScreenBrightness, setStorage, setStorageSync, setTabBarBadge, setTabBarItem, setTabBarStyle, setTopWindowStyle, setupApp, setupPage, setupWindow, showActionSheet, showLeftWindow, showLoading, showModal, showNavigationBarLoading, showRightWindow, showTabBar, showTabBarRedDot, showToast, showTopWindow, startAccelerometer, startCompass, startGyroscope, startPullDownRefresh, stopAccelerometer, stopCompass, stopGyroscope, stopPullDownRefresh, switchTab, uni$1 as uni, uploadFile, upx2px, useI18n, useTabBar, vibrateLong, vibrateShort };
packages/uni-h5/src/service/api/index.ts
浏览文件 @
a28e4205
...
...
@@ -98,7 +98,7 @@ export {
setPageMeta
,
getEnterOptionsSync
,
getLaunchOptionsSync
,
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
onAppHide
,
...
...
packages/uni-mp-alipay/dist/uni.api.esm.js
浏览文件 @
a28e4205
...
...
@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks
.
length
=
0
;
}
function
getPushClient
i
d
(
args
)
{
function
getPushClient
I
d
(
args
)
{
if
(
!
isPlainObject
(
args
))
{
args
=
{};
}
...
...
@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks
.
push
((
cid
,
errMsg
)
=>
{
let
res
;
if
(
cid
)
{
res
=
{
errMsg
:
'
getPushClient
i
d:ok
'
,
cid
};
res
=
{
errMsg
:
'
getPushClient
I
d:ok
'
,
cid
};
hasSuccess
&&
success
(
res
);
}
else
{
res
=
{
errMsg
:
'
getPushClient
i
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
res
=
{
errMsg
:
'
getPushClient
I
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
hasFail
&&
fail
(
res
);
}
hasComplete
&&
complete
(
res
);
...
...
@@ -814,7 +814,7 @@ const baseApis = {
getLocale
,
setLocale
,
onLocaleChange
,
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
invokePushCallback
,
...
...
packages/uni-mp-baidu/dist/uni.api.esm.js
浏览文件 @
a28e4205
...
...
@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks
.
length
=
0
;
}
function
getPushClient
i
d
(
args
)
{
function
getPushClient
I
d
(
args
)
{
if
(
!
isPlainObject
(
args
))
{
args
=
{};
}
...
...
@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks
.
push
((
cid
,
errMsg
)
=>
{
let
res
;
if
(
cid
)
{
res
=
{
errMsg
:
'
getPushClient
i
d:ok
'
,
cid
};
res
=
{
errMsg
:
'
getPushClient
I
d:ok
'
,
cid
};
hasSuccess
&&
success
(
res
);
}
else
{
res
=
{
errMsg
:
'
getPushClient
i
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
res
=
{
errMsg
:
'
getPushClient
I
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
hasFail
&&
fail
(
res
);
}
hasComplete
&&
complete
(
res
);
...
...
@@ -814,7 +814,7 @@ const baseApis = {
getLocale
,
setLocale
,
onLocaleChange
,
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
invokePushCallback
,
...
...
packages/uni-mp-core/src/api/index.ts
浏览文件 @
a28e4205
...
...
@@ -13,7 +13,7 @@ import {
$emit
,
}
from
'
@dcloudio/uni-api/src/service/base/eventBus
'
import
{
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
invokePushCallback
,
...
...
@@ -40,7 +40,7 @@ const baseApis = {
getLocale
,
setLocale
,
onLocaleChange
,
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
invokePushCallback
,
...
...
packages/uni-mp-kuaishou/dist/uni.api.esm.js
浏览文件 @
a28e4205
...
...
@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks
.
length
=
0
;
}
function
getPushClient
i
d
(
args
)
{
function
getPushClient
I
d
(
args
)
{
if
(
!
isPlainObject
(
args
))
{
args
=
{};
}
...
...
@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks
.
push
((
cid
,
errMsg
)
=>
{
let
res
;
if
(
cid
)
{
res
=
{
errMsg
:
'
getPushClient
i
d:ok
'
,
cid
};
res
=
{
errMsg
:
'
getPushClient
I
d:ok
'
,
cid
};
hasSuccess
&&
success
(
res
);
}
else
{
res
=
{
errMsg
:
'
getPushClient
i
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
res
=
{
errMsg
:
'
getPushClient
I
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
hasFail
&&
fail
(
res
);
}
hasComplete
&&
complete
(
res
);
...
...
@@ -814,7 +814,7 @@ const baseApis = {
getLocale
,
setLocale
,
onLocaleChange
,
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
invokePushCallback
,
...
...
packages/uni-mp-lark/dist/uni.api.esm.js
浏览文件 @
a28e4205
...
...
@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks
.
length
=
0
;
}
function
getPushClient
i
d
(
args
)
{
function
getPushClient
I
d
(
args
)
{
if
(
!
isPlainObject
(
args
))
{
args
=
{};
}
...
...
@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks
.
push
((
cid
,
errMsg
)
=>
{
let
res
;
if
(
cid
)
{
res
=
{
errMsg
:
'
getPushClient
i
d:ok
'
,
cid
};
res
=
{
errMsg
:
'
getPushClient
I
d:ok
'
,
cid
};
hasSuccess
&&
success
(
res
);
}
else
{
res
=
{
errMsg
:
'
getPushClient
i
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
res
=
{
errMsg
:
'
getPushClient
I
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
hasFail
&&
fail
(
res
);
}
hasComplete
&&
complete
(
res
);
...
...
@@ -814,7 +814,7 @@ const baseApis = {
getLocale
,
setLocale
,
onLocaleChange
,
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
invokePushCallback
,
...
...
packages/uni-mp-qq/dist/uni.api.esm.js
浏览文件 @
a28e4205
...
...
@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks
.
length
=
0
;
}
function
getPushClient
i
d
(
args
)
{
function
getPushClient
I
d
(
args
)
{
if
(
!
isPlainObject
(
args
))
{
args
=
{};
}
...
...
@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks
.
push
((
cid
,
errMsg
)
=>
{
let
res
;
if
(
cid
)
{
res
=
{
errMsg
:
'
getPushClient
i
d:ok
'
,
cid
};
res
=
{
errMsg
:
'
getPushClient
I
d:ok
'
,
cid
};
hasSuccess
&&
success
(
res
);
}
else
{
res
=
{
errMsg
:
'
getPushClient
i
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
res
=
{
errMsg
:
'
getPushClient
I
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
hasFail
&&
fail
(
res
);
}
hasComplete
&&
complete
(
res
);
...
...
@@ -814,7 +814,7 @@ const baseApis = {
getLocale
,
setLocale
,
onLocaleChange
,
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
invokePushCallback
,
...
...
packages/uni-mp-toutiao/dist/uni.api.esm.js
浏览文件 @
a28e4205
...
...
@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks
.
length
=
0
;
}
function
getPushClient
i
d
(
args
)
{
function
getPushClient
I
d
(
args
)
{
if
(
!
isPlainObject
(
args
))
{
args
=
{};
}
...
...
@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks
.
push
((
cid
,
errMsg
)
=>
{
let
res
;
if
(
cid
)
{
res
=
{
errMsg
:
'
getPushClient
i
d:ok
'
,
cid
};
res
=
{
errMsg
:
'
getPushClient
I
d:ok
'
,
cid
};
hasSuccess
&&
success
(
res
);
}
else
{
res
=
{
errMsg
:
'
getPushClient
i
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
res
=
{
errMsg
:
'
getPushClient
I
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
hasFail
&&
fail
(
res
);
}
hasComplete
&&
complete
(
res
);
...
...
@@ -814,7 +814,7 @@ const baseApis = {
getLocale
,
setLocale
,
onLocaleChange
,
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
invokePushCallback
,
...
...
packages/uni-mp-weixin/dist/uni.api.esm.js
浏览文件 @
a28e4205
...
...
@@ -546,7 +546,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks
.
length
=
0
;
}
function
getPushClient
i
d
(
args
)
{
function
getPushClient
I
d
(
args
)
{
if
(
!
isPlainObject
(
args
))
{
args
=
{};
}
...
...
@@ -557,11 +557,11 @@ function getPushClientid(args) {
getPushCidCallbacks
.
push
((
cid
,
errMsg
)
=>
{
let
res
;
if
(
cid
)
{
res
=
{
errMsg
:
'
getPushClient
i
d:ok
'
,
cid
};
res
=
{
errMsg
:
'
getPushClient
I
d:ok
'
,
cid
};
hasSuccess
&&
success
(
res
);
}
else
{
res
=
{
errMsg
:
'
getPushClient
i
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
res
=
{
errMsg
:
'
getPushClient
I
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
hasFail
&&
fail
(
res
);
}
hasComplete
&&
complete
(
res
);
...
...
@@ -778,7 +778,7 @@ const baseApis = {
getLocale
,
setLocale
,
onLocaleChange
,
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
invokePushCallback
,
...
...
packages/uni-quickapp-webview/dist/uni.api.esm.js
浏览文件 @
a28e4205
...
...
@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks
.
length
=
0
;
}
function
getPushClient
i
d
(
args
)
{
function
getPushClient
I
d
(
args
)
{
if
(
!
isPlainObject
(
args
))
{
args
=
{};
}
...
...
@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks
.
push
((
cid
,
errMsg
)
=>
{
let
res
;
if
(
cid
)
{
res
=
{
errMsg
:
'
getPushClient
i
d:ok
'
,
cid
};
res
=
{
errMsg
:
'
getPushClient
I
d:ok
'
,
cid
};
hasSuccess
&&
success
(
res
);
}
else
{
res
=
{
errMsg
:
'
getPushClient
i
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
res
=
{
errMsg
:
'
getPushClient
I
d:fail
'
+
(
errMsg
?
'
'
+
errMsg
:
''
)
};
hasFail
&&
fail
(
res
);
}
hasComplete
&&
complete
(
res
);
...
...
@@ -814,7 +814,7 @@ const baseApis = {
getLocale
,
setLocale
,
onLocaleChange
,
getPushClient
i
d
,
getPushClient
I
d
,
onPushMessage
,
offPushMessage
,
invokePushCallback
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录