<?php
/**
 * Created by PhpStorm.
 * User: billy
 * Date: 10/02/2017
 * Time: 5:20 PM
 */

namespace App\Modules\Enums;

class SuccessCode
{
    const NEED_TO_TAKE = 1;//有订单未取货
    const NEED_TO_RENT = 2;//需要选择支付押金
    const MACHINE_IN_USE = 3;//机柜正在被使用中
    const TAKE_SUCCESS = 4;//取货成功
    const GUIDE_NEED_TO_BUY = 5;//需要购买微导览
    const GUIDE_HAS_BUY = 6;//已经购买过微导览

    const GUIDE_HAS_RECEIVED_AVAILABLE = 7;//已经领取过该微导览分享有使用权
    const GUIDE_HAS_RECEIVED_EXPIRE =8;//已经领取使用权过期
    const GUIDE_RECEIVED_IS_FULL = 9;//该微导览分享到达上线
    const GUIDE_RECEIVE_OK = 10;//微导览分享领取成功
    const NEED_TO_RETURN = 11;//有充电宝未归还
    const RENT_OUT_OVER = 12;//订单发货完成
    const RENT_OUT_NOT_OVER = 13;//订单发货未完成
    const RENT_ORDER_NOT_BACK = 14;
    const SUBSCRIBE_FAIL = 15;
    const SUBSCRIBE_SUCCESS = 16;
    const PHONE_NOT_BINDING = 17;
    const PHONE_BINDING = 18;
    const BINDING_SUCCESS =19;//绑定成功
    const PHONE_VALIDATE_FAIL =20;
    const PHONE_VALIDATE_CODE_EXPIRE =21;//验证码过期
    const NO_SUBSCRIBE = 22;
    const HAS_TAKE = 23;

    const GUIDE_SHARER = 24;//分享者拒绝领取
    const GUIDE_HAD = 25;//已经享有服务无需领取(不是本次领取获得)

    const COUPON_NOT_BINDING =26; //优惠券尚未被绑定（导游）
    const COUPON_HAS_BINDING = 27; //优惠券已被绑定但不是该用户（导游）
    const COUPON_SELF_BINDING = 28;//优惠券被该用户绑定（导游）
    const COUPON_IS_BINDING = 29;//优惠券正在绑定（导游）
    const COUPON_HAS_OTHER_BINDING = 30;//优惠券已被他人绑定
    const COUPON_SELF_BINDING_SUCCESS = 31;//优惠券绑定成功
    const COUPON_SELF_BINDING_FAIL = 32;//优惠券绑定失败
    const COUPON_IS_GETTING = 33;//优惠券正在领取
    const COUPON_HAS_GETTING = 34; //优惠券已经领取过
    const COUPON_GETTING_SUCCESS = 35; //优惠券领取成功
    const COUPON_GETTING_FAIL = 36; //优惠券领取失败 请稍后再试
}