...
|
...
|
@@ -15,10 +15,12 @@ use think\Db; |
|
|
|
|
|
class TestController extends HomeBaseController
|
|
|
{
|
|
|
protected $uid = 83; //451
|
|
|
protected $uid = 309; //451
|
|
|
|
|
|
public function prob()
|
|
|
{
|
|
|
ini_set('max_execution_time', 3600);//秒为单位,自己根据需要定义
|
|
|
ini_set('memory_limit','-1');
|
|
|
$uid = $this->uid;
|
|
|
$user = Db::name('user')->where('id',$uid)->find();
|
|
|
$user['my_user_id'] = Db::name('my_user')->where('uid',$uid)->value('id');
|
...
|
...
|
@@ -56,6 +58,7 @@ class TestController extends HomeBaseController |
|
|
];
|
|
|
}
|
|
|
}
|
|
|
// 查询平台书籍收入金额
|
|
|
$this->excel($user,$data);
|
|
|
print_r($arr);exit;
|
|
|
}
|
...
|
...
|
|