|
|
@@ -160,7 +160,6 @@ class BalanceLogService extends BaseService
|
|
|
public static function getFlowingHistory($memberId ,$page = 1 ,$limit = 5)
|
|
|
{
|
|
|
$dateTime = date('Y-m-d 00:00:00');
|
|
|
- $pageLimit = $page * $limit;
|
|
|
$list = [];
|
|
|
for ($i=0; $i < $limit; $i++) {
|
|
|
$newIndex = ($page -1) * $limit + $i;
|
|
|
@@ -207,8 +206,12 @@ class BalanceLogService extends BaseService
|
|
|
$text .= "返水: {$item['refund']} \n";
|
|
|
$text .= "盈利: {$item['profit']} \n";
|
|
|
}
|
|
|
-
|
|
|
- return $text;
|
|
|
+
|
|
|
+ $msg = [];
|
|
|
+ $msg['chat_id'] = $memberId;
|
|
|
+ $msg['text'] = $text;
|
|
|
+
|
|
|
+ return $msg;
|
|
|
}
|
|
|
|
|
|
}
|