eb41623f by wang

init

1 parent 4e5c795d
......@@ -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);
......
......@@ -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>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!