Commit ad798e06 by 冷斌

update

parent 0a8d32dd
......@@ -245,6 +245,7 @@ class Model_User extends PhalApi_Model_NotORM
$name = $account = $account_bank = '';
if ($accountid == 0) {
$accountid = 1;
$account = $accountinfo['account'];
$name = $accountinfo['username'];
}
......@@ -254,6 +255,7 @@ class Model_User extends PhalApi_Model_NotORM
// }
if ($accountid == 1) {
$accountid = 3;
$name = $accountinfo['name'];
$account = $accountinfo['bank_card'];
$account_bank = $accountinfo['bank_province'] . $accountinfo['bank_city'];
......@@ -271,6 +273,7 @@ class Model_User extends PhalApi_Model_NotORM
"account_bank" => $account_bank,
"account" => $account,
"name" => $name,
'source' => $source,
];
$rs = DI()->notorm->users_cashrecord->insert($data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment