123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
- <?php
- defined('BASEPATH') OR exit('No direct script access allowed');
- //通用 0000-0099
- $config['response']['0000'] = "操作成功";
- $config['response']['0001'] = "缺少username";
- $config['response']['0002'] = "缺少token";
- $config['response']['0003'] = "缺少client_key";
- $config['response']['0004'] = "登录信息已过期,请重新登录";
- $config['response']['0005'] = "非法请求";
- $config['response']['0006'] = "未查询到相关数据";
- $config['response']['0007'] = "缺少必要参数";
- $config['response']['0008'] = "服务器连接失败";
- $config['response']['0009'] = "数据库更新失败";
- $config['response']['0010'] = "命令下发失败";
- $config['response']['0011'] = "删除失败";
- $config['response']['0012'] = "上传失败";
- $config['response']['0013'] = "无权限";
- $config['response']['0014'] = '下发命令超时,请稍后重试!';
- $config['response']['0015'] = '上传文件过大';
- $config['response']['0016'] = '上传文件类型错误';
- //登录 0100-0199
- $config['response']['0100'] = '用户名或密码不能为空';
- $config['response']['0101'] = '用户名或密码错误';
- $config['response']['0102'] = '用户不存在';
- $config['response']['0103'] = '当前账号已被停用';
- $config['response']['0104'] = '用户名不能为空';
- $config['response']['0105'] = '请输入验证码';
- $config['response']['0106'] = '验证码已经过期';
- $config['response']['0107'] = '验证码错误';
- $config['response']['0108'] = '请输入登录账号';
- $config['response']['0109'] = '请输入邮箱地址';
- $config['response']['0110'] = '账号未绑定邮箱地址';
- $config['response']['0111'] = '请输入新密码';
- $config['response']['0112'] = '验证错误';
- $config['response']['0113'] = '新密码跟旧密码不能相同';
- // 区域管理 0200-0299
- $config['response']['0200'] = '未查询到房间';
- $config['response']['0201'] = '请选择区域';
- $config['response']['0202'] = '请填写酒店名称';
- $config['response']['0203'] = '酒店名称不能超过20位';
- $config['response']['0204'] = '酒店名称重复';
- $config['response']['0205'] = '请选择酒店';
- $config['response']['0206'] = '请填写楼层数';
- $config['response']['0207'] = '楼层数必须为大于1的整数';
- $config['response']['0208'] = '请填写楼房名称';
- $config['response']['0209'] = '楼房名称不能超过20位';
- $config['response']['0210'] = '楼房名称已经存在';
- $config['response']['0211'] = '请选择楼房';
- $config['response']['0212'] = '请填写房间编号';
- $config['response']['0213'] = '房间编号格式错误,只能填写字母或数字';
- $config['response']['0214'] = '房间编号长度不能超过20位';
- $config['response']['0215'] = '房间编号已经存在';
- $config['response']['0216'] = '请先删除酒店下的楼房';
- $config['response']['0217'] = '请先删除楼房里的房间';
- $config['response']['0218'] = '请先删除房间里的设备';
- $config['response']['0219'] = '请选择开始楼层';
- $config['response']['0220'] = '请选择结束楼层';
- $config['response']['0221'] = '结束楼层必须大于开始楼层';
- $config['response']['0222'] = '请先删除楼层中的房间';
- $config['response']['0223'] = '房间SN号不能为空';
- // 设备管理 0300-0399
- $config['response']['0300'] = '设备名称不能为空';
- $config['response']['0301'] = '设备名称不能超过20位';
- $config['response']['0302'] = '设备ID不能为空';
- $config['response']['0303'] = '请选择楼层';
- $config['response']['0304'] = '请选择房间';
- $config['response']['0305'] = '设备名称已经存在';
- $config['response']['0306'] = '设备ID已经存在';
- $config['response']['0307'] = '设备ID为1-255的整数';
- $config['response']['0308'] = '数据更新失败,请稍后重试';
- $config['response']['0309'] = '设备编号已经存在';
- $config['response']['0310'] = '请填写设备编号';
- $config['response']['0311'] = '请选择新建设备';
- $config['response']['0312'] = '请填写列数';
- $config['response']['0313'] = '请先复制需要拷贝的设备';
- $config['response']['0314'] = '请先选择需要删除的设备';
- $config['response']['0315'] = '删除设备失败,请稍后重试';
- $config['response']['0316'] = '绑定设备失败,请稍后重试';
- $config['response']['0317'] = '设备未绑定网关';
- $config['response']['0318'] = '设备不存在';
- $config['response']['0319'] = '色温值范围错误';
- $config['response']['0320'] = '设备不支持';
- $config['response']['0321'] = '设备已关闭';
- $config['response']['0322'] = '设备不在线';
- $config['response']['0323'] = '文件名已经存在';
- $config['response']['0324'] = '未检测到设备版本信息,请尝试重新绑定设备';
- $config['response']['0325'] = '设备不支持';
- $config['response']['0326'] = '房间未绑定sensor设备';
- $config['response']['0327'] = '自动模式AQI值范围错误';
- // 用户管理 0400-0499
- $config['response']['0400'] = '名称不能为空';
- $config['response']['0401'] = '账号名称不能为空';
- $config['response']['0402'] = '账号名称必须为字母、数字或下划线组成';
- $config['response']['0403'] = '账号名称不能超过20位';
- $config['response']['0404'] = '名称已经存在';
- $config['response']['0405'] = '账号名称已经存在';
- $config['response']['0406'] = '手机号码格式错误';
- $config['response']['0407'] = '邮箱格式错误';
- $config['response']['0408'] = '密码不能为空';
- $config['response']['0409'] = '密码长度为6-16位';
- $config['response']['0410'] = '旧密码不能为空';
- $config['response']['0411'] = '新密码不能为空';
- $config['response']['0412'] = '确认密码错误';
- $config['response']['0413'] = '确认密码不能为空';
- $config['response']['0414'] = '旧密码错误';
- $config['response']['0415'] = '该人员已经存在';
- // 网关管理 0500-0599
- $config['response']['0500'] = '房间已经绑定填写的网关';
- $config['response']['0501'] = '网关ID已经存在';
- $config['response']['0502'] = '请先移除网关下的设备';
- $config['response']['0503'] = '未上传固件版本,请联系管理员';
- $config['response']['0504'] = '网关正在升级';
- // 故障管理 0600-0699
- $config['response']['0600'] = '故障还未处理,不能删除';
- $config['response']['0601'] = '手机号码不能为空';
- $config['response']['0602'] = '邮箱地址不能为空';
- $config['response']['0603'] = '手机号码已经存在';
- $config['response']['0604'] = '邮箱地址已经存在';
- // 英文版
- //通用 0000-0099
- $config['response_en']['0000'] = "Successful operation";
- $config['response_en']['0001'] = "Lack username";
- $config['response_en']['0002'] = "Lack token";
- $config['response_en']['0003'] = "Lack client_key";
- $config['response_en']['0004'] = "Login information has expired. Please login again";
- $config['response_en']['0005'] = "Unlawful request";
- $config['response_en']['0006'] = "No relevant data was querying";
- $config['response_en']['0007'] = "Missing necessary parameters";
- $config['response_en']['0008'] = "Server connection failure";
- $config['response_en']['0009'] = "Database update failed";
- $config['response_en']['0010'] = "Command failure";
- $config['response_en']['0011'] = "Delete failure";
- $config['response_en']['0012'] = "Upload failure";
- $config['response_en']['0013'] = "No authority";
- $config['response_en']['0014'] = 'The command is timed out, please try again later.';
- $config['response_en']['0015'] = 'Oversize Upload Files';
- $config['response_en']['0016'] = 'Error uploading file type';
- //登录 0100-0199
- $config['response_en']['0100'] = 'The user name or password can not be empty';
- $config['response_en']['0101'] = 'ERROR Incorrect username or password';
- $config['response_en']['0102'] = 'User does not exist';
- $config['response_en']['0103'] = 'Account disabled';
- $config['response_en']['0104'] = 'User name can not be empty';
- $config['response_en']['0105'] = 'Please enter the verification code';
- $config['response_en']['0106'] = 'The verification code has expired';
- $config['response_en']['0107'] = 'Verification code error';
- $config['response_en']['0108'] = 'Please enter the login account';
- $config['response_en']['0109'] = 'Please enter email address';
- $config['response_en']['0110'] = 'Account is not bound to email address';
- $config['response_en']['0111'] = 'Please enter a new password';
- $config['response_en']['0112'] = 'Verification error';
- $config['response_en']['0113'] = 'The new password cannot be the same as the old password';
- // 区域管理 0200-0299
- $config['response_en']['0200'] = 'Room not found';
- $config['response_en']['0201'] = 'Please select area';
- $config['response_en']['0202'] = 'Please fill in the hotel name';
- $config['response_en']['0203'] = 'No more than 20 Hotel Names';
- $config['response_en']['0204'] = 'Duplicate hotel name';
- $config['response_en']['0205'] = 'Please select a hotel';
- $config['response_en']['0206'] = 'Please fill in the floor';
- $config['response_en']['0207'] = 'Number of floors must be an integer greater than 1';
- $config['response_en']['0208'] = 'Please fill in the building name';
- $config['response_en']['0209'] = 'Building name cannot exceed 20';
- $config['response_en']['0210'] = 'Building name already exists';
- $config['response_en']['0211'] = 'Please select a building';
- $config['response_en']['0212'] = 'Please fill in the room number';
- $config['response_en']['0213'] = 'Wrong room number format, only letters or numbers can be filled in';
- $config['response_en']['0214'] = 'Room number length cannot exceed 20 digits';
- $config['response_en']['0215'] = 'Room number already exists';
- $config['response_en']['0216'] = 'Please delete the building under the hotel first';
- $config['response_en']['0217'] = 'Please delete the rooms in the building first';
- $config['response_en']['0218'] = 'Please delete the equipment in the room first';
- $config['response_en']['0219'] = 'Please select the start floor';
- $config['response_en']['0220'] = 'Please select the close floor';
- $config['response_en']['0221'] = 'The end floor must be greater than the beginning floor';
- $config['response_en']['0222'] = 'Please delete the room on the floor first';
- $config['response_en']['0223'] = 'Room Sn number cannot be empty';
- // 灯控设备管理 0300-0399
- $config['response_en']['0300'] = 'Device name cannot be empty';
- $config['response_en']['0301'] = 'Device name cannot exceed 20 digits';
- $config['response_en']['0302'] = 'Device ID cannot be empty';
- $config['response_en']['0303'] = 'Please select a floor';
- $config['response_en']['0304'] = 'Please select a room';
- $config['response_en']['0305'] = 'Device name already exists';
- $config['response_en']['0306'] = 'Device ID already exists';
- $config['response_en']['0307'] = 'Integer with device ID 1-255';
- $config['response_en']['0308'] = 'Data update failed, please try again later';
- $config['response_en']['0309'] = 'Device number already exists';
- $config['response_en']['0310'] = 'Please fill in the equipment number';
- $config['response_en']['0311'] = 'Please select a new device';
- $config['response_en']['0312'] = 'Please fill in the number of columns';
- $config['response_en']['0313'] = 'Please copy the device to be copied first';
- $config['response_en']['0314'] = 'Please select the device to be deleted first';
- $config['response_en']['0315'] = 'Failed to delete device, please try again later';
- $config['response_en']['0316'] = 'Failed to bind device, please try again later';
- $config['response_en']['0317'] = 'Device not bound to gateway';
- $config['response_en']['0318'] = 'Device does not exist';
- $config['response_en']['0319'] = 'Color temperature value range error';
- $config['response_en']['0320'] = 'Device does not support';
- $config['response_en']['0321'] = 'Device is off';
- $config['response_en']['0322'] = 'Device not online';
- $config['response_en']['0323'] = 'File name already exists';
- $config['response_en']['0324'] = 'Device version information not detected, try rebinding device';
- $config['response_en']['0325'] = 'Device not supported';
- $config['response_en']['0326'] = 'Sensor device is not bound to the room';
- $config['response_en']['0327'] = 'Automatic mode AQI value range error';
- // 用户管理 0400-0499
- $config['response_en']['0400'] = 'Name cannot be empty';
- $config['response_en']['0401'] = 'Account name cannot be empty';
- $config['response_en']['0402'] = 'Account name must be composed of letters, numbers or underscores';
- $config['response_en']['0403'] = 'Account name cannot exceed 20 digits';
- $config['response_en']['0404'] = 'Name already exists';
- $config['response_en']['0405'] = 'Account name already exists';
- $config['response_en']['0406'] = 'Mobile number format error';
- $config['response_en']['0407'] = 'Mailbox format error';
- $config['response_en']['0408'] = 'Password cannot be empty';
- $config['response_en']['0409'] = 'Password length is 6-16 bits';
- $config['response_en']['0410'] = 'Old password cannot be empty';
- $config['response_en']['0411'] = 'New password cannot be empty';
- $config['response_en']['0412'] = 'Confirm password error';
- $config['response_en']['0413'] = 'Confirm password cannot be empty';
- $config['response_en']['0414'] = 'Old password error';
- $config['response_en']['0415'] = 'The person already exists';
- // 网关管理 0500-0599
- $config['response_en']['0500'] = 'The room has been bound to the gateway you filled in';
- $config['response_en']['0501'] = 'Gateway ID already exists';
- $config['response_en']['0502'] = 'Please remove the device under the gateway first';
- $config['response_en']['0503'] = 'Firmware version not uploaded, please contact administrator';
- $config['response_en']['0504'] = 'Gateway upgrading';
- // 故障管理 0600-0699
- $config['response_en']['0600'] = 'The fault has not been handled and cannot be deleted';
- $config['response_en']['0601'] = 'Mobile number cannot be empty';
- $config['response_en']['0602'] = 'Email address cannot be empty';
- $config['response_en']['0603'] = 'Mobile number already exists';
- $config['response_en']['0604'] = 'Email address already exists';
|