diff --git a/api/connect.js b/api/connect.js
index b5cf191..bc754f4 100644
--- a/api/connect.js
+++ b/api/connect.js
@@ -26,7 +26,7 @@ export function webConnect(code) {
export function openIdLogin(params, clientType) {
return http.request({
url: `passport/connect/connect/app/login`,
- method: Method.GET,
+ method: Method.POST,
needToken: true,
data: params,
header: {
diff --git a/pages/passport/login.vue b/pages/passport/login.vue
index fe297f3..aafb45f 100644
--- a/pages/passport/login.vue
+++ b/pages/passport/login.vue
@@ -453,13 +453,14 @@
uuid: uni.getStorageSync("openid"), //联合登陆id
source: uni.getStorageSync("type"), //联合登陆类型
nickname: uni.getStorageSync("nickname"), // 昵称
+ username: uni.getStorageSync("openid"), // 昵称
avatar: uni.getStorageSync("avatar"), // 头像
uniAccessToken: uni.getStorageSync("uni_access_token"), //第三方token
type:this.clientType,
- token:{unionId:""}
+ token:{unionId:"",openId:uni.getStorageSync("openid")}
};
uni.getStorageSync("unionId") ? (params.token.unionId = uni.getStorageSync("unionId")) : delete params.token;
-
+
openIdLogin(params, clientType).then((res) => {
if (!res.data.success) {
let errormessage = "第三方登录暂不可用";
diff --git a/pages/tabbar/cart/cartList.vue b/pages/tabbar/cart/cartList.vue
index 0093444..d1b6f16 100644
--- a/pages/tabbar/cart/cartList.vue
+++ b/pages/tabbar/cart/cartList.vue
@@ -27,7 +27,7 @@
{{
- item.storeName
+ item.storeName
}}