Commit b7c7a859 authored by 董先生's avatar 董先生

持仓列表

parent 7bd96762
......@@ -117,7 +117,7 @@ class Subaccount extends Admin
$data = $this->request->post();
//获取证券账户信息
$commission = AccountModel::getAccountByID($data['account_id']);
if($commission['broker']== -1){//如果选择的券商类型为-1
if($commission['broker']<0){//如果选择的券商类型为-1
$data['relation_type']=0;//选择的账户模式为模拟账户
}else{
$data['relation_type']=1;//选择的账户模式为实盘账户
......
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