Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
eb41623f
authored
2018-04-01 17:32:32 +0800
by
wang
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
4e5c795d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
application/controllers/Finance.php
application/views/finance/checkTheAccount.php
application/controllers/Finance.php
View file @
eb41623
...
...
@@ -16,7 +16,7 @@ class Finance extends CI_Controller {
$url
=
$this
->
config
->
item
(
'apiBaseUrl'
)
.
'/manage/financial/repayments/nonePay/params'
;
$result
=
file_get_contents
(
$url
);
$ret
=
json_decode
(
$result
);
var_dump
(
$ret
);
//
var_dump($ret);
// $ret = $json->data;
$this
->
load
->
view
(
'finance/checkTheAccount'
,
$ret
);
...
...
application/views/finance/checkTheAccount.php
View file @
eb41623
...
...
@@ -9,7 +9,7 @@
<span class="
select
-
box
">
<select class="
select
table_search
" size="
1
">
<option value="" selected>时间类型</option>
<?php foreach (
$ret->data
as
$k
=>
$v
):?>
<?php foreach (
$
this->
ret
->data as
$k
=>
$v
):?>
<option value="
<?=
$k
?>
">
<?=
$v
?>
</option>
<?php
endforeach
;
?>
</select>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment