2018年10月8日
摘要: 1 '; //处理xml字符串 $str = str_replace('', '', $str1); //把xml转化成多个...格式的数组 preg_match_all('/\.+\/', $str, $arr); $axml = []; //遍历处理得到的数组 foreach ($arr[0] as $value) { //遍历解析得到的数组 //得到... 阅读全文
posted @ 2018-10-08 10:09 降魔 阅读(813) 评论(0) 推荐(0) 编辑
摘要: public function put(Request $request){ // var_dump($request->title); $input = $request->all(); $rules = [ 'title' => 'required|min:2|max:25', 'body' =>... 阅读全文
posted @ 2018-10-08 09:43 降魔 阅读(154) 评论(0) 推荐(0) 编辑