eb41623f by wang

init

1 parent 4e5c795d
...@@ -16,7 +16,7 @@ class Finance extends CI_Controller { ...@@ -16,7 +16,7 @@ class Finance extends CI_Controller {
16 $url = $this->config->item('apiBaseUrl') . '/manage/financial/repayments/nonePay/params'; 16 $url = $this->config->item('apiBaseUrl') . '/manage/financial/repayments/nonePay/params';
17 $result = file_get_contents($url); 17 $result = file_get_contents($url);
18 $ret = json_decode($result); 18 $ret = json_decode($result);
19 var_dump($ret); 19 // var_dump($ret);
20 // $ret = $json->data; 20 // $ret = $json->data;
21 21
22 $this->load->view('finance/checkTheAccount',$ret); 22 $this->load->view('finance/checkTheAccount',$ret);
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <span class="select-box"> 9 <span class="select-box">
10 <select class="select table_search" size="1"> 10 <select class="select table_search" size="1">
11 <option value="" selected>时间类型</option> 11 <option value="" selected>时间类型</option>
12 <?php foreach ($ret->data as $k=>$v):?> 12 <?php foreach ($this->ret->data as $k=>$v):?>
13 <option value="<?=$k?>"><?=$v?></option> 13 <option value="<?=$k?>"><?=$v?></option>
14 <?php endforeach;?> 14 <?php endforeach;?>
15 </select> 15 </select>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!