|
|
|
@ -53,7 +53,7 @@ class MarketService
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$count = M('spend', 'tab_')->where($map)->count();
|
|
|
|
|
$limit = 50;
|
|
|
|
|
$limit = 500;
|
|
|
|
|
$pageCount = ceil($count/$limit);
|
|
|
|
|
for ($page = 0; $page <= $pageCount; $page ++) {
|
|
|
|
|
M('spend', 'tab_')->where($map)->limit($limit)->save(['market_admin_id' => $toId]);
|
|
|
|
@ -71,7 +71,7 @@ class MarketService
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$count = M('deposit', 'tab_')->where($map)->count();
|
|
|
|
|
$limit = 50;
|
|
|
|
|
$limit = 500;
|
|
|
|
|
$pageCount = ceil($count/$limit);
|
|
|
|
|
for ($page = 0; $page <= $pageCount; $page ++) {
|
|
|
|
|
M('deposit', 'tab_')->where($map)->limit($limit)->save(['market_admin_id' => $toId]);
|
|
|
|
|