2018-01-15周会
2018, Jan 15
上周codereview执行结果回馈
- 代码规范执行上,除了个别人有疏忽的地方,已无其他大的问题,若有发现共性问题我会在周会上提出;
- 看一段代码
<?php /** *查询小站列表数据 * @author luoxin 2018-01-08 * @return [type] [description] */ public function get_ants_list($input = NULL, $where) { $page = @$input['page'] ? @$input['page'] : 1; $where = array(); (isset($input['company_id']) && $input['company_id']) ? ($where[] = "`m.company_id` like '%" . $input['company_id'] ."%'") : ''; // isset($input['company_id']) && $input['company_id'] ? $where['m.company_id'] = (int)$input['company_id'] : ''; $field = 'm.*,mu.name as mu_name'; $order_by = 'm.id DESC'; $where = implode('and',$where); $data = $this->CI->merchant_model->get_merchants_all($where,$field,$page,$order_by); return $data; }
讨论上周遇到的问题
- 陈喆:post与php://input的差别
- 余林:下载面单的问题
项目的汇报项目进度
- 李彬:根据tower汇报
- 余林:根据tower汇报