@@ -95,6 +95,14 @@ class WelfareMall extends request {
* 获取首页信息
*/
static getIndexList(params ={}) {
+ this.postRequest(`${this.BASE_URL}open/statistics/record-app-visit-log`, {
+ module: 'signin',
+ action: 'visit',
+ source: 'WX_MINI_APP',
+ path: '/xx'
+
+ }).then(_ => {});
return this.postRequest(`${this.BASE_URL}open/welfare-mall/homepage-data`, params);
}
@@ -2,11 +2,11 @@ import util, { isFunc } from './util.js'
class request {
//本地的
-// static BASE_URL = 'http://localhost:8014/'
+ static BASE_URL = 'http://localhost:8014/'
// pre环境的
// static BASE_URL = 'https://oapi.shpr.top/'
// 正式的
- static BASE_URL = 'https://vapi.hsayi.com/'
+ // static BASE_URL = 'https://vapi.hsayi.com/'
// @todo需要修改正式的域名
static HEAD = {