123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- <?php
- $config['base'] = array
- (
- 'name' => '中食民安管理系统',
- 'name' => '橙猫供应链平台',
- 'version' => '1.0.0 Beta',
-
- 'category' => 1,
-
- 'top' => 'passport/system_id',
-
- 'wechat_applet' => 'trial',
-
- 'status' => array
- (
- 1 => '上架',
- 2 => '下架',
- ),
-
- 'source' => array
- (
- 1 => '门店',
- 2 => '仓库',
- 3 => '工厂',
- ),
-
- 'applet' => array
- (
- 'project' => 'passport/system',
- 'url' => 'https://api.weixin.qq.com/sns/jscode2session',
-
- 'index' => 'pages/index/index',
- ),
-
- 'encode_key' => 'dreamland1985',
-
- 'account' => 'mobile',
- 'mobileCode' => array
- (
-
- 'debug' => true,
-
- 'url' => 'https://feginesms.market.alicloudapi.com/codeNotice',
- 'url' => '',
-
- 'save' => 'db',
-
- 'method' => 'get',
-
- 'json' => false,
-
- 'header' => 'Authorization:APPCODE ca584ae21ce54c999067e77b5995a27b',
-
- 'body' => 'param={code}&phone={mobile}&sign={sign}&skin={skin}',
-
- 'skin' => array
- (
- 'reg' => 35247,
- 'order' => 35246,
- 'code' => 35245,
-
- 'notice' => 38099,
-
- 'feedback' => 38747,
- ),
-
- 'sign' => 47159,
-
- 'timeout' => 600,
-
- 'total' => 10,
-
- 'time' => 60,
-
- 'length' => 6,
- ),
-
- 'regAction' => '',
-
-
-
- 'passport_list_button' => array
- (
-
- ),
-
- 'log' => array
- (
- 'cron' => array
- (
- 'ad/lib/cron.run'
- ),
- ),
-
- 'score' => array
- (
-
- 'sync' => true,
- ),
-
-
-
- 'queue' => array
- (
- 'method' => 'redis',
- 'host' => 'server-redis',
- 'port' => '6379',
- 'password' => 'dm_redis_123',
- ),
- );
- $config['template'] = array
- (
-
-
- 'assets' => 'pc',
-
- 'template' => 'pc',
-
- 'path' => 'html',
- 'replace' => array
- (
- 'css' => 'css/',
- 'js' => 'js/',
- 'images' => 'images/',
- 'script' => '../script/',
- 'static' => './static/',
- ),
-
- 'relation' => array
- (
-
- 'home' => 'home',
- ),
-
- );
- return $config;
|