api.php 3.85 KB
<?php
/**
 * Created by PhpStorm.
 * User: billy
 * Date: 10/02/2017
 * Time: 5:27 PM
 */

return [
    'error' => [
        'database_error' => '数据库更新错误',
        'param_error' => '参数错误',

        'token_not_provide' => 'token未提供',
        'token_expire' => 'token已经过期',
        'token_invalid' => 'token无效',
        'sms_error' => '验证码发送失败,请稍后重试',
        'sms_invalid_type' => '发送的验证码类型有误',
        'user_not_exist' => '该用户不存在',
        'user_already_exist' => '该用户已经存在',
        'login_failed' => '用户名或认证码错误',
        'create_token_failed' => '创建token失败',
        'input_incomplete' => '输入信息不完整',
        'open_id_access_token_failed' => 'openId或accessToken错误',
        'user_disabled' => '用户已被禁用',

        'sn_not_exist' => '二维码不存在',
        'machine_not_exist' => '机柜不存在',
        'rent_order_not_back' => '有未归还的订单',
        'rent_order_not_take' => '有未取货的订单',
        'rent_order_illegal_take' => '非法取货',
        'stock_not_enough' => '库存不足',
        'production_not_exist' => '该充电宝租借记录不存在',
        'spot_not_exist' => '不存在这个景点',
        'guide_rule_not_set' => '未设置微导览收费规则',
        'guide_record_not_exist' => '微导览单号不存在',
        'share_not_enough' => '购买单号不存在',
        'no_guide_permission' => '没有微导览使用权限',
        'share_no_exist' => '分享的单号不存在',
        'code_error' => '微信登录的code值错误',
        'we_mini_pay_fail' => '微信小程序发起支付失败',
        'rent_not_exist' => '租借单号不存在',
        'rent_order_not_take' => '租借未取货',
        'share_not_exist' => '购买继续不存在',
        'message_invalid' => '消息验证签名失败',
        'guide_has_buy' => '微导览已经拥有,无需购买',
        'sale_power_not_exist' => '不存在该租借状态充电宝',
        'rent_has_not_pay' => '订单还未付款',
        'customer_has_register' => '用户已经注册过',
        'no_auto_send' => '系统没有录入自动赠送卡券类型',
        'machine_ont_life' => '机柜不在线',
        'user_business_not_find' => '未找到该用户管理的商户',


    ],
    'success' => [
        'need_to_take' => '请直接取货',
        'need_to_rent' => '請先付租借押金',
        'machine_in_use' => '机柜正在使用中',
        'shipment_success' => '出货成功',
        'shipment_fail' => '有充电宝出货失败',
        'take_success' => '取货成功',
        'guide_need_to_buy' => '请购买微导览',
        'guide_has_buy' => '已经购买过微导览',
        'guide_has_received_available' => '已经领取过该微导览分享有使用权',
        'guide_has_received_expire' => '已经领取使用权过期',
        'guide_received_is_full' => '该微导览分享领取次数达3人',
        'guide_receive_OK' => '为导览领取成功',
        'need_to_return' => '有充电宝未归还',
        'rent_out_over' => '订单发货完成',
        'rent_out_not_over' => '订单发货未完成',
        'subscribe_fail' => '预约失败',
        'subscribe_success' => '预约成功',
        'phone_not_binding' => '未绑定手机号',
        'phone_binding'=> '已绑定手机号',
        'phone_validate_fail' => '验证码错误',
        'binding_success' => '绑定成功',
        'phone_validate_code_expire' => '验证码过期',
        'no_subscribe' => '没有预约单',
        'has_take' => '刚取完货',
        'guide_receive_ok' => '微导览领取成功',
        'guide_sharer' => '分享者不用领取',
        'guide_had' => '已经享有服务无需领取',
        'send_code_success' => '验证码发送成功',

    ],
];