<?php return [ 'raw' => [ 'app_id' => 'wx4300d933e5abd5ba', 'secret' => '7b64a08d75fd3c62d1702081b8e95b63', ], 'user' => [ 'rule' => [ 'code' => 'require', 'nickname' => 'require', 'avatar' => 'require', // 'type' =>'require', ], 'msg' => [ 'name.require' => '昵称不能为空', 'code.require' => 'code码不能为空', 'avatar' => '头像不能为空', // 'type' => '是否为苹果类型不能为空', ] ], 'path'=>'http://qiniuareial.w.broing.cn', 'lu'=>'https://areial.w.broing.cn', //微信支付配置 'wx_pay' => [ 'app_id' => 'wx4300d933e5abd5ba', 'mch_id' => '1564926431', 'key' => 'qVlAakIMilfqud0w1WMysBcWhztDKAox', // 支付 密钥 // 如需使用敏感接口(如退款、发送红包等)需要配置 API 证书路径(登录商户平台下载 API 证书) 'cert_path' => ROOT_PATH.'public/cert/apiclient_cert.pem', // XXX: 绝对路径!!!! 'key_path' => ROOT_PATH.'public/cert/apiclient_key.pem', // XXX: 绝对路径!!!! 'notify_url' => '默认的订单回调地址', // 你也可以在下单时单独设置来想覆盖它 ], ];