摘要: public static function sp_password($pw){ $decor=md5(Config::get("dbprefix")); $mi=md5($pw); return substr($decor,0,12).$mi.substr($decor,-4,4); } public static funct... 阅读全文
posted @ 2018-06-22 16:14 王芬老师 阅读(240) 评论(1) 推荐(0) 编辑
摘要: public function modify_icon() { $this->act_data['modify_icon']['desc'] = "修改头像"; //获取上传文件信息; $file = request()->file('file'); $filePaths = ROOT_PATH . 'public' . DS . ... 阅读全文
posted @ 2018-06-22 16:05 王芬老师 阅读(152) 评论(0) 推荐(0) 编辑
摘要: } public function set_images(){ $this->image=[]; $image = $this->request->file('image'); if(!is_array($image)){ $this->image[]=$image; }else{ $this->image=$imag... 阅读全文
posted @ 2018-06-22 15:54 王芬老师 阅读(141) 评论(0) 推荐(0) 编辑