<?php
namespace Our;
/**
 * 这个是路由定义  。
 *
 * @author Administrator
 *
 */
class NameConst {

    /**
     * 登录session_key
     * @var string
     */
    const ordersIndex='orders';
    const sessionKey = 'key';
    const data='data';
    const mobile='mobile';
    const password='password';

    const pageIndex='pageIndex';
    const pageSize='pageSize';

    //member表字段名
    const memberMobile='member_mobile';
    const memberPasswd='member_passwd';
    const memberName='member_name';
    //member表方法
    const saveMember='saveMember';

    //返回字段
    const shortMessage='shortMessage';
    const longMessage='longMessage';
    const responseContent='responseContent';
    const resultCode='resultCode';

    //配置名字
    const configName='config';
    const redisPre='qm_-';

    //授权参数名称
    const nonce='nonce';
    const timestamp='timestamp';
    const deviceType='deviceType';
    const sign='sign';
    const maxAccessTime='maxAccessTime';
    const encryptType='encryptType';

    //设备类型
    const pc='pc';
    const iphone='iphone';
    const android='android';
    const ipad='ipad';

    const ok = 'OK';

    const slash = '/';
    const dot = '.';
    const jpg = 'jpg';
    const jpgSuffix = '.jpg';

    const http = 'http';
    const httpPrefix = 'http://';

    const signStoreIdsPrefix = 'signStoreIds_';
    const serviceStoreIdsPrefix = 'serviceStoreIds_';
    const nearbyStoreKeyPrefix = 'nearbyStoreKey_';

    const nearbyStoreGoodsPrefix = 'nearbyStoreGoods_';

    const cityCode = 'cityCode';
    const lat = 'lat';
    const lng = 'lng';
    const address = 'address';

    const wechatAuthUrl = 'https://api.weixin.qq.com/sns/jscode2session?';

    //订单操作相关
    //买家取消订单
    const buyerCancel='buyerCancel';
    //申请退款
    const refundCancel='refundCancel';
    //商家取消订单
    const storeCancel='storeCancel';
    //平台取消订单
    const systemCancel='systemCancel';
    //平台收款
    const systemReceivePay='systemReceivePay';
    //买家投诉
    const complain='complain';
    const payment='payment';
    //调整运费
    const modifyPrice='modifyPrice';
    //调整商品价格
    const spayPrice='spayPrice';
    //发货
    const send='send';
    //收货
    const receive='receive';
    //评价
    const evaluation='evaluation';
    //锁定
    const lock='lock';
    //快递跟踪
    const deliver='deliver';
    //放入回收站
    const delete='delete';
    //永久删除、从回收站还原
    const drop='drop';
    const restore='restore';
    //分享
    const share='share';

    const authInfoPrefix = 'authInfo_';

    const allField = '*';

    const desc = 'desc';
    const asc = 'asc';
    const memberCartStorePrefix = 'memberCartStore_';//

    const memberStoreCartsPrefix = 'memberStoreCarts_';

    const underline = '_';

    const onlineStorageGoodsPrefix = 'onlineStorageGoods_';

    const onlineStorageBlGoodsPrefix = 'onlineStorageBlGoods';//组合销售库存前缀

    const storeCoverPrefix = 'storeCover_';

    const storeMiddleAdvsPrefix = 'storeMiddleAdvs_';

    const emptyString = '';

    const wxAppChannel = 'wx_app';
    const wxLiteChannel = 'wx_lite';
    const aliApiChannel = 'ali_app';
    const qqAppChannel = 'qq_app';

    const currentCNY = 'CNY';

    //个人中心
    const waitPay = 'waitPay';//待付款
    const waitShipments = 'waitShipments';//待发货
    const waitReceiving = 'waitReceiving';//待收货
    const waitEvaluate = 'waitEvaluate';//待评价
    const refund = 'refund';//退款中
    const storeCollection = 'storeCollection';//店铺收藏数量
    const goodsCollection = 'goodsCollection';//商品收藏数量
    const footprint = 'footprint';//足迹数量

    const leftBracket = '[';
    const rightBracket = ']';
    const elasticName='elastic.master';

    const shopkeeper='orders';

    const cancelUnPayedOrderTimePrefix = 'cancelUnPayedOrderTime';
    const cancelUnReceivedOrderTimePrefix = 'cancelUnReceivedOrderTime';

    const frontLogPath = '/data/log/';

    const frontPrefix = 'front';
}

?>