mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
dumpCSV: add BOM to prevent Chinese garbled in Excel
Signed-off-by: Beta Soft <betaxab@gmail.com>
This commit is contained in:
parent
2ede0f3f17
commit
575bbe5174
@ -133,7 +133,7 @@ class UserController extends Controller
|
||||
$subscribeUrl = $baseUrl . '/api/v1/client/subscribe?token=' . $user['token'];
|
||||
$data .= "{$user['email']},{$balance},{$commissionBalance},{$transferEnable},{$notUseFlow},{$expireDate},{$planName},{$subscribeUrl}\r\n";
|
||||
}
|
||||
echo $data;
|
||||
echo "\xEF\xBB\xBF" . $data;
|
||||
}
|
||||
|
||||
public function generate(UserGenerate $request)
|
||||
|
Loading…
Reference in New Issue
Block a user