<?php
/**
 * Created by PhpStorm.
 * User: zilongs
 * Date: 20-9-23
 * Time: 上午11:41
 */

return [
    //token加密的key和iv
    'aes_key' => 'bEJwbf2w8Abbhr1g',
    'aes_iv' => 'sfX2ReOCcY22CEUF',

    // 正式服 小程序id
/*    'wechat_small_program' => [
        'app_id' => 'wx1dcbf8ce4bca6870',
        'secret' => 'f978c16e3664c33c811c02f1d48690b9',
    ],*/

    // 测试服务
    'wechat_small_program' => [
        'app_id' => env('WECHAT_APPID','wx6131f74e623bf6bf'),
        'secret' => env('WECHAT_APPSECRET','b703596ab6cbcad5b74eb51fec2aeb0b'),
    ],
    // 测试服务医生
    'docter_wechat_small_program' => [
        'app_id' => env('DOCTRER_WECHAT_APPID', 'wx92066f7587c34617'),
        'secret' => env('DOCTRER_WECHAT_APPSECRET', 'bd7849c5259b79c41ec158173c5fb1d6'),
    ],

    'wechat_pay' => [
        'app_id' => env('WECHAT_APPID','wx6131f74e623bf6bf'),
        'mch_id' => env('WECHAT_MCHID','1398823402'),
        'key' =>  env('WECHAT_KEY','c1891122765718911227657189112276'),
        'notify_url' => env('API_HOST', '').'/api/v1/payCallback/wechatPayNotify'
    ],
    'aly_sms' => [
        'access_key' => 'LTAI4FgJdnfwsj5Bb6ioWSD9',
        'access_secret' => 'S4Tp2eNVKHROuNOLjTvAICTnjqXFFR',
        'sign_name' => '思维定制',
        'verify_template_code' => 'SMS_185242509',
        'sms_verify_code_expire' => 360,
    ],
    'axb'   =>[
        'appid' => 'LTAI4GGMyBKstgVLLckoPxtf',
        'appscret' => 'goLufn8Qe0Mfip5PBR8R0DfbYYYkDF',
        'PoolKey' => 'FC100000115024469', // 隐私号码key
        'StartReport' => 'Alicom-Queue-1938404972693193-SecretStartReport-14860002', // 童话开始时回调
        'Report' => 'Alicom-Queue-1938404972693193-SecretReport-14865001', // 通话结束时回调
    ],

    'product_type_map' => [1 => '电话咨询', 2 => '图文咨询', 3 => '门诊预约', 4 => '疫苗接种预约', 5 => '儿保预约', 6 => '服务包', 7 => '充值'],

    'aly_sms' => [
        'access_key' => 'LTAI4GGMyBKstgVLLckoPxtf',
        'access_secret' => 'goLufn8Qe0Mfip5PBR8R0DfbYYYkDF',
        'sign_name' => '熙宝HMO',
        'verify_template_code' => 'SMS_205875481',
        'sms_verify_code_expire' => 360,
    ],

    'user_message_map' => [
        4 => '您的%s订单下单成功，已经通知医生（社区医院）（点击查看订单详情）',
        5 => '您的%s服务包，已经购买成功，有效期为%s（点击查看服务包详情）',
        6 => '您的%s服务包，已经于%s过期（点击查看服务包详情）',
        7 => '您已成功充值%s元，账户余额为%s元',
        8 => '您已成功付款%s元，账户余额为%s元',
        9 => '您已成功修改密码，重新登录生效',
        10 => '您已成功修改绑定电话，重新登录生效',
        11 => '您已成功修改支付密码',
    ],

    'docter_message_map' => [
        1 => '您接到一个新订单，订单号%s，请尽快确认（点击查看订单详情）',
        4 => '您的订单号为%s的订单，用户已完成评价（点击查看评价详情）',
    ],

    'no_auth_function_map' => ['docter/docterList', 'docter/docterDetail'],

    'pack_label_map' => [1 => '图文', 2 => '电话', 3 => '门诊', 4 => '计免', 5 => '儿保'],
];
