Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
stock_new
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sugar
stock_new
Commits
b7c7a859
Commit
b7c7a859
authored
Jun 19, 2024
by
董先生
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
持仓列表
parent
7bd96762
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
application/stock/admin/Subaccount.php
application/stock/admin/Subaccount.php
+1
-1
No files found.
application/stock/admin/Subaccount.php
View file @
b7c7a859
...
...
@@ -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
;
//选择的账户模式为实盘账户
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment