delete(); foreach ($data as $k => &$time) { $time['sid'] = $id; self::set($time); } return true; } /** * 学员联系方法列表 */ public static function contactPhoneList($id = 0) { return self::where(['sid' => $id])->order('id asc')->select(); } }