提交 7b579e89 编写于 作者: DCloud_JSON's avatar DCloud_JSON

1.0.2

上级 d49c657a
......@@ -131,7 +131,7 @@
"uniStatistics" : {
"enable" : false
},
"vueVersion" : "3",
"vueVersion" : "2",
"h5" : {
"unipush" : {
"enable" : true
......
{
"AES": {
"mod": "aes-128-cbc",
"pasword": "DCloud&2*0^1#600",
"iv": "HTML5PLUSRUNTIME",
"charset": "utf8",
"encodeReturnType": "base64"
},
"MD5": {
"encodeReturnType": "hex"
}
}
\ No newline at end of file
## 1.0.1(2022-06-28)
修复微信小程序登录时无unionid报错的Bug [详情](https://ask.dcloud.net.cn/question/148016)
## 1.0.1(2022-06-28)
添加相关uni-id表
## 1.0.0(2022-06-23)
正式版
......@@ -33,7 +33,7 @@ export default async function() {
facebook: 'facebook',
google: 'google',
alipay: 'alipay',
apple:"apple"
apple: "apple"
}
//遍历客户端配置的登录方式,与服务端比对。并在错误时抛出错误提示
let list = loginTypes.filter(type => !supportedLoginType.includes(data[type]))
......
{
"id": "uni-id-pages",
"displayName": "uni-id-pages",
"version": "1.0.0",
"version": "1.0.1",
"description": "云端一体简单、统一、可扩展的用户中心页面模版",
"keywords": [
"用户管理",
......
<h2>
文档已移至 <a href="https://uniapp.dcloud.io/uniCloud/uni-id-pages.html" target="_blank">uni-id-pages文档</a>
</h2>
# 文档已移至uni-id-pages文档[https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html](https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html)
关于插件更新的说明:
所有uni_modules,在HBuilderX里点右键都可以直接升级。或者在插件市场导入覆盖。
覆盖时HBuilderX会弹出代码差异比对,可以决定接受哪些更改、拒绝哪些更改。
当拒绝局部修改时,注意可能产生兼容性问题。
你需要二次开发uni-id-pages的前端页面,
- 如果改动不大,那么每次更新uni-id-pages时,在HBuilderX的对比界面对比一下就好
- 如果改动较大,建议复制一套前端页面到自己工程的pages目录下,pages.json里只引用根目录pages下的页面,不引用uni_modules下的页面。然后每次uni-id-pages更新,你对比下比上一版uni-id-pages改了什么,看你是否需要再合并到你自己的pages里。pages.json里不引用uni_modules里的页面的话,打包时不会把这些页面打包进去,不影响发行后的包体积
\ No newline at end of file
......@@ -18,8 +18,16 @@ module.exports = async function (params = {}) {
}
this.middleware.validate(params, schema)
const {
deviceId
deviceId,
"appId":dcloud_appid,
uniPlatform,
osName
} = this.getClientInfo()
let platform = uniPlatform
if(platform == "app"){
platform += osName
}
const {
uid,
exp
......@@ -41,7 +49,9 @@ module.exports = async function (params = {}) {
user_id: uid,
device_id: deviceId,
token_expired: tokenExpired,
unipush_clientid: pushClientId
push_clientid: pushClientId,
dcloud_appid,
platform
})
return {
errCode: 0
......@@ -57,7 +67,9 @@ module.exports = async function (params = {}) {
}).update({
user_id: uid,
token_expired: tokenExpired,
unipush_clientid: pushClientId
push_clientid: pushClientId,
dcloud_appid,
platform
})
return {
errCode: 0
......
// "文件路径" : {"键名":"改成什么"}
{
"/manifest.json": {
"appid" : "",
"name" : "",
"versionName" : "",
"mp-weixin" : {
"appid" : ""
"appid": "",
"name": "",
"versionName": "",
"mp-weixin": {
"appid": ""
},
"app-plus" : {
"modules" : {
"OAuth" : {}
"vueVersion": "2",
"app-plus": {
"modules": {
"OAuth": {}
},
"distribute" : {
"sdkConfigs" : {
"oauth" : {
"univerify" : {},
"weixin" : {
"appid" : "",
"appsecret" : "",
"UniversalLinks" : ""
"distribute": {
"sdkConfigs": {
"oauth": {
"univerify": {},
"weixin": {
"appid": "",
"appsecret": "",
"UniversalLinks": ""
},
"apple" : {}
"apple": {}
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册