public function upload($dir_id = null) { $uid = User::getLoginUid(); $rs = PhotoM::uploadPc($dir_id, $uid); echo $rs; throw new Exception('exit'); }