|
@@ -216,7 +216,7 @@ const store = new Vuex.Store({
|
|
|
commit('SET_APPID',appId);
|
|
|
|
|
|
// let { groupId, mallId } =
|
|
|
- if (!/CRM|PUDONG|JINGAN/.test(source)) {
|
|
|
+ if (!/CRM|PUDONG|JINGAN|ALIPAY/.test(source)) {
|
|
|
const groupIdAndMallId = getGroupIdAndMallIdByLsbId(lbsId);
|
|
|
groupId = groupIdAndMallId.groupId;
|
|
|
mallId = groupIdAndMallId.mallId;
|
|
@@ -257,7 +257,7 @@ const store = new Vuex.Store({
|
|
|
commit('SET_KIP_USER_ID',kipUserId);
|
|
|
commit('SET_MOBILE',mobile);
|
|
|
dispatch('getUserDetail');
|
|
|
- const memberRes = await getVIPIntegral()
|
|
|
+ // const memberRes = await getVIPIntegral()
|
|
|
// const memberRes = await crmQueryMemberInfo({
|
|
|
// groupId,
|
|
|
// kipUserId,
|
|
@@ -268,12 +268,6 @@ const store = new Vuex.Store({
|
|
|
type: 'getProjectId',
|
|
|
options: {},
|
|
|
});
|
|
|
- const marketListRes = await kipAllCities();
|
|
|
- if ( memberRes) {
|
|
|
- dispatch('getUserDetail');
|
|
|
- commit('SET_MEMBER',memberRes);
|
|
|
- }
|
|
|
- // console.log(929292, marketListRes);
|
|
|
}
|
|
|
callback && callback();
|
|
|
} catch ( e ) {
|
|
@@ -284,6 +278,7 @@ const store = new Vuex.Store({
|
|
|
async getUserDetail( {commit} ) {
|
|
|
const res = await kipGetUserDetail();
|
|
|
commit('SET_USER_INFO',res.data);
|
|
|
+ commit('SET_MEMBER',res.data);
|
|
|
// console.log('user_info', res);
|
|
|
},
|
|
|
clearUnlicensed( {state,commit} ) {
|