Commit bc2d5c695463ad2ca0b63d2dc2ac181fcda49021

Authored by 泉州测试
1 parent 471716d8

fix:修改昵称头像

pages/user/userinfo/userinfo.js
@@ -648,10 +648,10 @@ Page({ @@ -648,10 +648,10 @@ Page({
648 648
649 }); 649 });
650 }).then((userInfo) => { 650 }).then((userInfo) => {
651 - getApp().request.get("/api/weshop/users/update", { 651 + getApp().request.put("/api/weshop/users/update", {
652 data: { 652 data: {
653 storeId: r.stoid, 653 storeId: r.stoid,
654 - userId: getApp().globalData.user_id, 654 + user_id: getApp().globalData.user_id,
655 nickname: userInfo.nickName, 655 nickname: userInfo.nickName,
656 head_pic: userInfo.avatarUrl 656 head_pic: userInfo.avatarUrl
657 657