This commit is contained in:
zpc 2026-02-04 00:19:03 +08:00
parent 581af8bbbc
commit 4199a47211
2 changed files with 4 additions and 5 deletions

View File

@ -11,9 +11,9 @@
// 测试环境配置 - .NET 10 后端 // 测试环境配置 - .NET 10 后端
const testing = { const testing = {
baseUrl: 'https://app.zpc-xy.com/honey/api', // baseUrl: 'https://app.zpc-xy.com/honey/api',
// baseUrl: 'http://192.168.1.24:5238', // baseUrl: 'http://192.168.1.24:5238',
// baseUrl: 'http://192.168.195.15:2822', baseUrl: 'http://192.168.195.15:2822',
imageUrl: 'https://youdas-1308826010.cos.ap-shanghai.myqcloud.com', imageUrl: 'https://youdas-1308826010.cos.ap-shanghai.myqcloud.com',
loginPage: '', loginPage: '',
wxAppId: '' wxAppId: ''

View File

@ -151,13 +151,12 @@ public class WelfareController : ControllerBase
/// <summary> /// <summary>
/// 获取福利屋详情 /// 获取福利屋详情
/// GET/POST /api/fuliwu_detail /// GET /api/fuliwu_detail
/// Requirements: 13.1-13.4 /// Requirements: 13.1-13.4
/// </summary> /// </summary>
[HttpGet("fuliwu_detail")] [HttpGet("fuliwu_detail")]
[HttpPost("fuliwu_detail")]
[Authorize] [Authorize]
public async Task<ApiResponse<WelfareDetailResponse>> GetWelfareDetail([FromForm] WelfareDetailRequest? request) public async Task<ApiResponse<WelfareDetailResponse>> GetWelfareDetail([FromQuery] WelfareDetailRequest? request)
{ {
var userId = GetCurrentUserId(); var userId = GetCurrentUserId();
if (userId == null) if (userId == null)