表名:option_preferstocks
控制器:
var $uses = array('PreferStock');
$this->PreferStock->add_stock($code, $this->user['id']);
模型:
var $useTable = 'preferstocks';//小写+复数
return $ret['PreferStock'];
posted on 2018-05-01 19:59 薇薇123456 阅读(133) 评论(0) 编辑 收藏 举报