玩家账号加密

master
sunke 5 years ago
commit 014c0c8675

@ -542,6 +542,7 @@ class FinanceController extends BaseController
foreach ($data as &$list) {
$list['income'] = bcmul($list['pay_amount'], bcdiv($list['selle_ratio'], 100, 2), 2);
$list['pay_time'] = date('Y-m-d H:i:s', $list['pay_time']);
$list['user_account'] = encryption($list['user_account']);
switch ($list['pay_way']) {
case 2:
case 3:

@ -85,7 +85,7 @@ class PackageController extends Controller
private function gotoPkgUrl($packageUrl)
{
if (preg_match("/oss/", $packageUrl)) {
if (preg_match("/http/", $packageUrl)) {
$url = str_replace('-internal', '', $packageUrl);
echo "<script>window.location.href='$url';</script>";
} elseif (preg_match("/clouddn/", $packageUrl)) {

Loading…
Cancel
Save