Merge pull request #315 from betaxab/p1

dumpCSV: add BOM to prevent Chinese garbled in Excel
This commit is contained in:
tokumeikoi 2020-10-29 14:40:12 +08:00 committed by GitHub
commit 0342ed69b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,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)