专人写接口+模型,专人写业务逻辑---interface_model -- business logical

专人写接口+模型,专人写业务逻辑---interface_model -- business logical

0-控制台脚本重构为“面向接口编程”;1-仓库类通过__constru方法,来实现一处实例化model,提高代码复用性;2-写通用仓库方法public function updateMainTableRow($country, $updateDbId = 0, $updateArr = array(), $whereArr = array('equal' => array(), 'gt' => array(), 'lt' => array()))

原文地址:https://www.cnblogs.com/rsapaper/p/7039441.html