店铺详情下拉刷新优化,下载邀请图片功能添加

This commit is contained in:
2022-06-17 16:46:47 +08:00
291 changed files with 8562 additions and 3004 deletions

View File

@@ -11,7 +11,7 @@ import router from '../router'
// 基础配置
const config = {
apiUrl : 'https://api.gongli.vip/api/', // 正式环境
// apiUrl : 'http://api.zh.shangkelian.cn/api/', // 大健康调试环境,目前没有任何数据无法正常显示,所以需要使用该环境,最后会删除
// apiUrl : 'http://api.gl.shangkelian.cn/api/', // 测试
timeout : 60000
}

View File

@@ -18,7 +18,6 @@ const dt = (data) =>{
// 充值
const recharge = (data) => {
console.log(data)
return request({
url: "user/transaction/recharge",
method: "POST",

29
apis/interfaces/app.js Normal file
View File

@@ -0,0 +1,29 @@
/**
* Web唐明明
* 匆匆数载恍如梦,岁月迢迢华发增。
* 碌碌无为枉半生,一朝惊醒万事空。
* moduleName: 数据看板
*/
import { request } from '../index'
// 初始化
const getAppdata = () =>{
return request({
url: "appdata/index"
})
}
// 获取分类数据
const getData = (data) =>{
return request({
url: "appdata/get_data",
data
})
}
export {
getAppdata,
getData
}

View File

@@ -58,11 +58,21 @@ const secretService = (name) =>{
})
}
// 一键登录
const keyAuth = (data) => {
return request({
url: 'user/socialite/login/unicloud/app',
method: 'POST',
data: data
}, true)
}
export {
smsAuth,
getInvitationSms,
getSms,
userFigure,
createUser,
secretService
secretService,
keyAuth
}

View File

@@ -40,13 +40,13 @@ const shopsDetail = (shopId) => {
}
// 店铺商品
const shopsGoods = (shop_id, category_id,page) => {
const shopsGoods = (shopId, categoryId,page) => {
return request({
url: 'mall/goods',
data: {
shop_id,
category_id,
page,
shop_id:shopId,
category_id:categoryId,
page:page,
}
})
}