本文整理汇总了PHP中mobileMemberControl类的典型用法代码示例。如果您正苦于以下问题:PHP mobileMemberControl类的具体用法?PHP mobileMemberControl怎么用?PHP mobileMemberControl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了mobileMemberControl类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct();
if ($_GET['op'] != 'payment_list') {
$payment_code = 'alipay';
if (in_array($_GET['op'], array('wx_app_pay', 'wx_app_pay3', 'wx_app_vr_pay', 'wx_app_vr_pay3'), true)) {
$payment_code = 'wxpay';
} else {
if (isset($_GET['payment_code'])) {
$payment_code = $_GET['payment_code'];
}
}
$model_mb_payment = Model('mb_payment');
$condition = array();
$condition['payment_code'] = $payment_code;
$mb_payment_info = $model_mb_payment->getMbPaymentOpenInfo($condition);
if (!$mb_payment_info) {
output_error('支付方式未开启');
}
$this->payment_code = $payment_code;
$this->payment_config = $mb_payment_info['payment_config'];
}
}
开发者ID:noikiy,项目名称:meizhan,代码行数:23,代码来源:member_payment.php
示例2: __construct
public function __construct()
{
parent::__construct();
}
开发者ID:dotku,项目名称:shopnc_cnnewyork,代码行数:4,代码来源:member_index.php
示例3: __construct
public function __construct()
{
parent::__construct();
$this->payment_code = isset($_GET['payment_code']) && trim($_GET['payment_code']) != '' ? trim($_GET['payment_code']) : 'alipay';
}
开发者ID:xingch,项目名称:myshop,代码行数:5,代码来源:member_payment.php
示例4: __construct
public function __construct()
{
parent::__construct();
$model_member = Model('mz_member');
$mz_member_info = $model_member->getMemberInfo(array('member_id' => $this->member_info['member_id']));
if (empty($mz_member_info)) {
$condition = array();
$condition['member_id'] = $this->member_info['member_id'];
$condition['client_type'] = "mz";
Model('mb_user_token')->delMbUserToken($condition);
output_error('用户信息错误,请重新登录', array('team' => '0'));
}
if ($mz_member_info['team_id'] == 0) {
output_error('未加入战队', array('team' => 0));
} else {
$this->member_info['mz_integral'] = $mz_member_info['integral'];
$this->member_info['member_type'] = $mz_member_info['type'];
$this->member_info['team_info'] = Model('mz_team')->getTeamInfoByID($mz_member_info['team_id']);
}
}
开发者ID:sdjncjc,项目名称:meizhan,代码行数:20,代码来源:control.php
注:本文中的mobileMemberControl类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论