where([ 'platform'=>Config::get('platform.default_pay_gateway') ])->select(); if($list->isEmpty()) { return Common::rm(1, '操作成功', [ 'bankList'=>[] ]); } $list->hidden([ 'status','platform','bankID' ]); return Common::rm(1, '操作成功', [ 'bankList'=>$list ]); } public function getConfig() { $config = [ 'bankBandMax'=>1,//至多绑定银行卡数量, 'loanAgreementUrl'=>$this->h5RootUrl().'/mobile/h5/contract?######',//借款协议url, 'riskBulletinUrl'=>$this->h5RootUrl().'/mobile/h5/risk?######',//风险揭示书url, 'rechargeUrl'=>$this->h5RootUrl().'/mobile/h5/userRecharge?######',//充值url, 'drawcashUrl'=>$this->h5RootUrl().'/mobile/h5/userDrawcash?######',//提现url, 'userInvitationUrl'=>$this->h5RootUrl().'/mobile/h5/userInvitationPage?######',//邀请注册url 'activeUrl'=>$this->h5RootUrl().'/mobile/h5/activeList?######',//活动模块url 'customerUrl'=>'http://www.baidu.com?######',//联系客服 'aboutUsUrl'=>$this->h5RootUrl().'/mobile/h5/about?######',//关于我们 'regAgreementUrl'=>$this->h5RootUrl().'/mobile/h5/regAgreement?######',//注册协议, 'startPageImage'=>'http://slb.dahengdian.com/jiaqiancaifu/2018/03/06/c3a9BiOrwf.png',//注册协议, 'userExtNav'=>[ [ 'icon'=>'', 'text'=>'', 'link'=>'http://www.baidu.com?######' ] ], 'stat'=>[ 'userRegCount'=>User::where([ 'isForged'=>0 ])->count() ],//注册协议 'companyInfo'=>[ 'name'=>'浙江尊珂投资管理有限公司' ],//注册协议 ]; return Common::rm(1, '操作成功', [ 'config'=>$config ]); } public function getUpgradeInfo() { return Common::rm(1, '操作成功', [ 'versionName'=>'2.0.0', 'isForce'=>1, 'downloadAndroid'=>'http://gyxz.exmmw.cn/hk/rj_yx1/aiba.apk', 'downloadIOS'=>'http://gyxz.exmmw.cn/hk/rj_yx1/aiba.apk', 'day'=>5 ]); } public function getUpgradeInfoForIOS() { return Common::rm(1, '操作成功', [ 'versionName'=>'2.1.0', 'versionContent'=>[ '1、更新了11231', '2、更新了21212312', '3、更新了333333' ], 'channels'=>[ '20180308' ], 'download'=>'https://itunes.apple.com/cn/app/id1338057758?mt=8' ]); } }