diff --git a/api/index.js b/api/index.js index 27e79f6..a471984 100644 --- a/api/index.js +++ b/api/index.js @@ -15,6 +15,7 @@ let baseInfo = {// 公共接口 getOssInfo:"/oss/policy",// 获取oss信息 getIDcard:"/yishoudan/commons/idCardOcrRecognize",// 身份证识别 uploadImage:"/imgs/uploadImage",// 图片上传 + getConfig:"/yishoudan/weixin/config/getConfig", } export default Object.assign(testInfo,baseInfo,loginInfo,userInfo,bindInfo,jobInfo,orderInfo,personInfo,wyyxInfo); \ No newline at end of file diff --git a/root/person/about.vue b/root/person/about.vue index b6c46c9..eff1747 100644 --- a/root/person/about.vue +++ b/root/person/about.vue @@ -29,6 +29,12 @@ localBaseImg:this.G.store().localBaseImg, version:this.G.store().version } + }, + onShow(){ + let that = this; + that.G.Get(that.api.getConfig,{},(res)=>{ + console.log("获取基础设置",res); + }) } }