需求列表状态刷新优化
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user