<?php
namespace Our;
/**
 * User: liuyuzhen
 * Date: 2018/5/17
 * Time: 14:03
 * Description:
 */
class ImageConst{

    //图片本地临时存放路径
    const tempImageUploadPath = '/data/images/';

    //会员头像存放路径
    const memberAvatar = 'mall/avatar/';

    //会员头像前缀
    const memberAvatarPrefix = 'member_avatar_';

    //分类图标前缀
    const categoryPicPrefix = 'category-pic-';

    const topClassAdvImagePrefis = 'category-hdpic-'; //一级分类对应广告图前缀

    //商家举报图片存放路径
    const reportShops = 'mall/report/';

    //意见反馈图片存放路径
    const feedback = 'mall/feedback/';

    //销售员二维码存放路径
    const salesmanQr = 'mall/salesman_qr/';

    //商品图片存放路径
    const goods = 'mall/store/goods/';

    //商家头像/banner/资质图片存放路径
    const storeLabel= 'mall/store/';

    const advPath = 'mall/adv/';

    //商品、商家头像等默认图片路径
    const defaultPath = 'mall/common/';

    const storeClassAdvImagePrefix = 'mall/store/goods/classify';

    const defaultMemberAvatarName = 'default_member_avatar.jpg';

    const defaultStoreLabelName = 'default_store_avatar.jpg';


    //图片指向的域名
    const imageDomain="ossHost";

    const systemAvatar= 'system/';

    const imagePgn='image/png';
    //系统默认头像名
    //系统头像
    const sysAvatarName='sys.jpg';
    //订单头像
    const orderAvatarName='order.jpg';
    //快递头像
    const expressAvatarName='express.jpg';
    const shareImage='share/';
    //商品评价图
    const goodsEvaluation = 'mall/evaluate/';
    //退款退货图片
    const refund='mall/refund/';
    //物流图片地址
    const expressPath='express/';

    //商家举报对应图片路径
    const reportPath = 'mall/report/';

    //及时消息对应的图片链接
    const imImagePath = 'im/';

    //店铺广告位路径
    const advSrcImagePath = 'mall/adv_src/';

    //可上传图片类型
    const uploadTypes = array(
        0=>self::defaultPath,
        1=>self::goodsEvaluation,
        2=>self::refund,
        3=>self::imImagePath,
        4=>self::reportPath
    );


}
