摘要:
1 '; //处理xml字符串 $str = str_replace('', '', $str1); //把xml转化成多个...格式的数组 preg_match_all('/\.+\/', $str, $arr); $axml = []; //遍历处理得到的数组 foreach ($arr[0] as $value) { //遍历解析得到的数组 //得到... 阅读全文
摘要:
public function put(Request $request){ // var_dump($request->title); $input = $request->all(); $rules = [ 'title' => 'required|min:2|max:25', 'body' =>... 阅读全文