refactor(secondTop): 优化营期设置和结束逻辑

使用getRequestParams统一处理请求参数
将硬编码的字符串值改为变量引用
This commit is contained in:
2025-08-26 13:12:35 +08:00
parent d7c8a9e173
commit b7d46c3dde
3 changed files with 96 additions and 57 deletions

View File

@@ -381,7 +381,7 @@ const finishCamp = async () => {
try {
isCampFinished.value = true;
await CenterCampPeriodAdmin({
is_camp_finish: true
is_camp_finish: "11"
});
} catch (error) {
console.error('结束营期失败:', error);