代码合并

This commit is contained in:
2025-08-01 10:24:08 +08:00
7 changed files with 695 additions and 688 deletions

View File

@@ -5,6 +5,9 @@ export async function init() {
//热搜词
http.request({
url: 'common/type/249',
data: {
type: 249
}
}).then(res => {
if (res.code == 0) {
uni.setStorageSync('moreSearch', res.data.value)
@@ -18,8 +21,8 @@ export async function init() {
export const commonType = (num) => {
return http.request({
url: `/common/type/${num}`,
params:{
type:num
data:{
type: num
}
})
}

View File

@@ -14,9 +14,13 @@ export const login = (data) => {
/**
* 发送验证码
*/
export const setSendMsg = (mobile,type) => {
export const setSendMsg = (mobile, type) => {
return http.request({
url: '/Login/sendMsg/' + mobile + '/'+type
url: '/Login/sendMsg/' + mobile + '/' + type,
data: {
phone: mobile,
event: type
}
})
}
@@ -72,4 +76,4 @@ export const $bindStatus = (data) => {
method: 'GET',
data: data
})
}
}

View File

@@ -17,7 +17,10 @@ export const selectByUserId = (data) => {
export const commonType = (type) => {
return http.request({
url: `/common/type/${type}`,
method: 'GET'
method: 'GET',
data: {
type: type
}
})
}

View File

@@ -17,6 +17,7 @@ export const selectNewApp = (data) => {
export const selectUserById = (data) => {
return http.request({
url: '/user/selectUserById',
method: 'POST',
data: data
})
}

View File

@@ -56,7 +56,10 @@ export function insertHistory(data) {
export function getJinbiBili(data) {
return http.request({
url: 'common/type/914',
data
data: {
...data,
type: 914
}
})
}
@@ -142,11 +145,11 @@ export function playStatus(data) {
}
// 获取支付次数提示
export function getPayTips(data){
export function getPayTips(data) {
return http.request({
url: 'course/getRedEnvelopeTips',
method: 'GET',
data
})
}
}