|
@@ -523,12 +523,11 @@ export const actions = {
|
|
|
// 保存微信信息
|
|
// 保存微信信息
|
|
|
GerWechatInfo({ commit }, params = {}) {
|
|
GerWechatInfo({ commit }, params = {}) {
|
|
|
let id = params.openId
|
|
let id = params.openId
|
|
|
|
|
+ console.log('openid:' + id)
|
|
|
commit('option/REQUEST_WECHATINFO_STATUS')
|
|
commit('option/REQUEST_WECHATINFO_STATUS')
|
|
|
return axios.get('/wx/getWxUserInfo', { params: params })
|
|
return axios.get('/wx/getWxUserInfo', { params: params })
|
|
|
.then(response => {
|
|
.then(response => {
|
|
|
commit('option/REQUEST_WECHATINFO_STATUS_SUCCESS', response.data)
|
|
commit('option/REQUEST_WECHATINFO_STATUS_SUCCESS', response.data)
|
|
|
- console.log(response.data + '\n')
|
|
|
|
|
- console.log(response.data.status)
|
|
|
|
|
if (response.data.status >= 0) {
|
|
if (response.data.status >= 0) {
|
|
|
// 有状态
|
|
// 有状态
|
|
|
if (id !== '' && !id) {
|
|
if (id !== '' && !id) {
|