新增定制需求功能和营销素材

This commit is contained in:
王鹏
2026-09-08 08:25:22 +08:00
parent 6d847bdd86
commit c591354ed1
20 changed files with 972 additions and 65 deletions

View File

@@ -298,3 +298,37 @@ export function cancelVirtualResourceOrder(orderNo) {
method: 'delete'
})
}
// 查询后台启用的项目定制技术栈
export function listCustomTechStacks() {
return request({
url: '/app/techStack/options',
method: 'get'
})
}
// 提交项目定制需求(服务端同时扣除 99 积分)
export function createCustomRequest(data) {
return request({
url: '/app/customRequest',
method: 'post',
data: data
})
}
// 查询当前用户的定制需求
export function listMyCustomRequests(query) {
return request({
url: '/app/customRequest/my',
method: 'get',
params: query
})
}
// 查询当前用户的定制需求详情
export function getMyCustomRequest(id) {
return request({
url: '/app/customRequest/my/' + id,
method: 'get'
})
}