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

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

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,
}
})
}