1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Bear
- * Date: 2018/11/29
- * Time: 下午2:16
- */
- namespace app\main\constants;
- class OpenPlatformConstants
- {
- const URL_TYPE_UNKNOWN = 0;//未识别
- const URL_TYPE_ADMIN = 1;//后台首页
- const URL_TYPE_PAY = 2;//支付
- const URL_TYPE_SPREAD = 3;//推广
- const WEXIN_NEED_LOGIN = [];
- const BROWSER_NEED_LOGIN = [];
- //全网发布
- public static $app_id_for_all = [
- 'wx570bc396a51b8ff8',
- 'wxd101a85aa106f53e',
- ];
- public static $event_callback_user = [
- 'gh_3c884a361561',
- 'gh_8dad206e9538',
- ];
- const PAY_CALLBACK_PREFIX = 'callback';
- const PALM_PAY_URL = 'https://pay.palmpay.cn/sdkServer/thirdpays/pay/WECHAT_SUB';
- const PALM_PAY_VERSION = '3.0';
- public static $ignoreUrlArr = [
- 'index/index/referral', //推广链接 t 短连接
- 'index/index/dev',
- 'index/index/clear',
- 'index/popup/window',
- ];
- //忽略全部处理逻辑的页面url
- public static $ignoreSubUrlArr = [
- 'index/book/chapter',
- 'index/book/menu',
- 'index/activity/pay',
- '/index/recharge/activity',
- 'index/index/activity',
- 'index/index/vipreferral',
- 'index/index/booklistch',
- 'index/index/booklist',
- ];
- //需要验证客服消息弹框的路由
- public static $customTipsUrlArr = [
- '/index/user/index', //个人中心
- '/index/user/recent',//最近阅读
- '/index/index/index',//商城首页
- '/index/book/list',//书籍列表
- '/index/category/index',//书籍分类
- '/index/category/books',//书籍页
- ];
- }
|