protected $_auto=[
['sell_uptown','update_sell_uptown',3,'callback'],
];
protected function update_sell_uptown(){
if(I('sell_uptown_id')==-1){
return I('sell_uptown');
}else{
return '';
}
}
ThinkPHP3中Model类$_auto使用回调函数
猜你喜欢
转载自blog.csdn.net/sr_www/article/details/84176879
今日推荐
周排行