|
@@ -17,7 +17,6 @@ Page({
|
|
* 生命周期函数--监听页面加载
|
|
* 生命周期函数--监听页面加载
|
|
*/
|
|
*/
|
|
onLoad: async function (options) {
|
|
onLoad: async function (options) {
|
|
- // await this.getUserPhone();
|
|
|
|
let userMobile = await activity.getMobileCache();
|
|
let userMobile = await activity.getMobileCache();
|
|
console.log(userMobile)
|
|
console.log(userMobile)
|
|
if (userMobile.length !== 0) {
|
|
if (userMobile.length !== 0) {
|
|
@@ -40,17 +39,6 @@ Page({
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
- /**
|
|
|
|
- * 获取用户信息
|
|
|
|
- */
|
|
|
|
- getUserPhone: async function(){
|
|
|
|
- await WelfareMall.getUser({
|
|
|
|
- openid: activity.getOpenId(),
|
|
|
|
- source:'FREE_MINI_APP',
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
getCountNum: async function(){
|
|
getCountNum: async function(){
|
|
/**
|
|
/**
|
|
* 福利社
|
|
* 福利社
|