需求列表状态刷新优化

This commit is contained in:
Dev
2026-10-14 15:46:49 +08:00
parent a0149f5f93
commit 8eb253784a
7 changed files with 111 additions and 15 deletions
@@ -7,6 +7,7 @@ use app\common\exception\UploadException;
use app\common\library\Upload;
use app\common\model\Area;
use app\common\model\Version;
use app\common\service\DemandService;
use fast\Random;
use think\captcha\Captcha;
use think\Config;
@@ -189,6 +190,8 @@ class Common extends Api
'backendLabels' => $toLabels($back_techs),
'otherLabels' => $toLabels($other_techs),
'developTypes' => $developTypes,
// 平台服务费比例(0~1),前端据此计算开发者预计到手金额
'platform_commission_ratio' => (float)DemandService::getPlatformCommissionRatio(),
];
$this->success('', $config);