提交 a28e4205 编写于 作者: fxy060608's avatar fxy060608

chore: getPushClientid => getPushClientId

上级 a49cfa4b
......@@ -75,7 +75,7 @@ function invokeGetPushCidCallbacks(cid?: string, errMsg?: string) {
getPushCidCallbacks.length = 0
}
export function getPushClientid(args: GetPushCidOptions) {
export function getPushClientId(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: 'getPushClientid:ok', cid }
res = { errMsg: 'getPushClientId:ok', cid }
hasSuccess && success(res)
} else {
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') }
res = { errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') }
hasFail && fail(res)
}
hasComplete && complete(res)
......
......@@ -11115,7 +11115,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClientid(args) {
function getPushClientId(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -11126,11 +11126,11 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushClientid:ok', cid };
res = { errMsg: 'getPushClientId:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -19038,7 +19038,7 @@ var uni$1 = {
setPageMeta: setPageMeta,
getEnterOptionsSync: getEnterOptionsSync,
getLaunchOptionsSync: getLaunchOptionsSync,
getPushClientid: getPushClientid,
getPushClientId: getPushClientId,
onPushMessage: onPushMessage,
offPushMessage: offPushMessage,
onAppHide: onAppHide,
......
......@@ -121,7 +121,7 @@ export {
setPageMeta,
getEnterOptionsSync,
getLaunchOptionsSync,
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
onAppHide,
......
......@@ -44,7 +44,7 @@
"getLocation",
"getNetworkType",
"getProvider",
"getPushClientid",
"getPushClientId",
"getRealPath",
"getRecorderManager",
"getRightWindowStyle",
......
......@@ -4619,7 +4619,7 @@ function invokeGetPushCidCallbacks(cid2, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClientid(args) {
function getPushClientId(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -4630,10 +4630,10 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid2, errMsg) => {
let res;
if (cid2) {
res = { errMsg: "getPushClientid:ok", cid: cid2 };
res = { errMsg: "getPushClientId:ok", cid: cid2 };
hasSuccess && success(res);
} else {
res = { errMsg: "getPushClientid:fail" + (errMsg ? " " + errMsg : "") };
res = { errMsg: "getPushClientId:fail" + (errMsg ? " " + errMsg : "") };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -20266,7 +20266,7 @@ var api = /* @__PURE__ */ Object.defineProperty({
setPageMeta,
getEnterOptionsSync,
getLaunchOptionsSync,
getPushClientid,
getPushClientId,
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, getPushClientid, 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, getPushClientId, 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 };
......@@ -98,7 +98,7 @@ export {
setPageMeta,
getEnterOptionsSync,
getLaunchOptionsSync,
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
onAppHide,
......
......@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClientid(args) {
function getPushClientId(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushClientid:ok', cid };
res = { errMsg: 'getPushClientId:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -814,7 +814,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClientid(args) {
function getPushClientId(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushClientid:ok', cid };
res = { errMsg: 'getPushClientId:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -814,7 +814,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -13,7 +13,7 @@ import {
$emit,
} from '@dcloudio/uni-api/src/service/base/eventBus'
import {
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
invokePushCallback,
......@@ -40,7 +40,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClientid(args) {
function getPushClientId(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushClientid:ok', cid };
res = { errMsg: 'getPushClientId:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -814,7 +814,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClientid(args) {
function getPushClientId(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushClientid:ok', cid };
res = { errMsg: 'getPushClientId:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -814,7 +814,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClientid(args) {
function getPushClientId(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushClientid:ok', cid };
res = { errMsg: 'getPushClientId:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -814,7 +814,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClientid(args) {
function getPushClientId(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushClientid:ok', cid };
res = { errMsg: 'getPushClientId:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -814,7 +814,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -546,7 +546,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClientid(args) {
function getPushClientId(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -557,11 +557,11 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushClientid:ok', cid };
res = { errMsg: 'getPushClientId:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -778,7 +778,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
invokePushCallback,
......
......@@ -582,7 +582,7 @@ function invokeGetPushCidCallbacks(cid, errMsg) {
});
getPushCidCallbacks.length = 0;
}
function getPushClientid(args) {
function getPushClientId(args) {
if (!isPlainObject(args)) {
args = {};
}
......@@ -593,11 +593,11 @@ function getPushClientid(args) {
getPushCidCallbacks.push((cid, errMsg) => {
let res;
if (cid) {
res = { errMsg: 'getPushClientid:ok', cid };
res = { errMsg: 'getPushClientId:ok', cid };
hasSuccess && success(res);
}
else {
res = { errMsg: 'getPushClientid:fail' + (errMsg ? ' ' + errMsg : '') };
res = { errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '') };
hasFail && fail(res);
}
hasComplete && complete(res);
......@@ -814,7 +814,7 @@ const baseApis = {
getLocale,
setLocale,
onLocaleChange,
getPushClientid,
getPushClientId,
onPushMessage,
offPushMessage,
invokePushCallback,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册