|
|
@@ -86,7 +86,7 @@ class Platform extends Api
|
|
|
// 每日分配各个短剧在不同平台的收益
|
|
|
public function platform_income_day(){
|
|
|
// 先获取所有短剧在不同平台的收益上下限
|
|
|
- $list = model('VideoPlatform')->select();
|
|
|
+ $list = model('VideoPlatform')->select()->toArray();
|
|
|
foreach ($list as $k => $v){
|
|
|
$randomNumber = mt_rand($v['min'] * 100, $v['max'] * 100) / 100;
|
|
|
$up=[
|