Upload.class.php
917 Bytes
<?php
/**
* 上传的返回编码及提示的定义类
*
* @name Config_Code_Upload
* @package config/code
* @copyright yoho.inc
* @version 0.1 (2013-08-13 17:21:49)
* @author fei.hong <fei.hong@yoho.cn>
*/
class Config_Code_Upload
{
public static $errorPost = array('code' => 401, 'msg' => '本页面需要post提交',);
public static $errorNoKey = array('code' => 402, 'msg' => '权限认证错误',);
public static $errorValidKey = array('code' => 403, 'msg' => '权限认证错误',);
public static $errorNoProject = array('code' => 404, 'msg' => '没有找到项目',);
public static $errorNoUploadFile = array('code' => 405, 'msg' => '请先上传文件',);
public static $errorUploadFailed = array('code' => 406, 'msg' => '上传文件失败, 请稍候再试');
public static $successUpload = array('code' => 12, '上传成功',);
}