bobing_901_5

This commit is contained in:
dengbw
2021-09-01 15:13:38 +08:00
parent 13023b91f0
commit d0cd8310ad
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ class Bobing extends Wxapp
{
if ($cf_uid) {
$zl_nums = $this->mdBobingLogs->count(array('app_id' => $this->app_id, 'act_key' => $this->appConfig['act_key']
, 'cf_uid' => $this->uid, 'type' => 1));
, 'uid' => $cf_uid, 'cf_uid' => $this->uid, 'type' => 1));
$zl_nums = intval($this->appConfig['zl_nums'] - $zl_nums);//剩下助力博饼数
$valid_nums = array('title' => '剩余助力次数:', 'value' => $zl_nums <= 0 ? 0 : $zl_nums);
} else {
+1 -1
View File
@@ -288,7 +288,7 @@ class Home extends Wxapp
$order_id = $this->mdOrderPurchase->add($add_data);
$date = array('sid' => $sid, 'tips' => $order_id ? '' : '购买失败请重试');
} else {
$date = array('sid' => $re_p['sid'], 'tips' => $re_p['status'] == 2 ? '您已经购买了' : '');
$date = array('sid' => $re_p['sid'], 'tips' => $re_p['status'] == 2 ? '每人限购一次' : '');
}
return $date;
}