...
This commit is contained in:
parent
5918b2a7e3
commit
cc5b053f47
@ -102,7 +102,8 @@ class Shop(object):
|
||||
'group': 'Shop',
|
||||
'url': 'webapp/index.php?c=Shop&a=buyGoodsDirect',
|
||||
'params': [
|
||||
_common.ReqHead(),
|
||||
['account_id', '', '账号id'],
|
||||
['order_id', '', '订单id'],
|
||||
['id', 0, '商品唯一id,参见shopGoods表'],
|
||||
['token_type', '', "选用币种"],
|
||||
['goods_num', 0, '商品数量'],
|
||||
|
@ -152,6 +152,9 @@ class FirstTopupController extends BaseAuthedController
|
||||
array('account_id' => myself()->_getAccountId())
|
||||
);
|
||||
|
||||
$status = [0, 0, 0];
|
||||
|
||||
if ($row) {
|
||||
// 0 未领取 1 可领取 2 已领取
|
||||
$status = [(int)$row['status1'], (int)$row['status2'], (int)$row['status3']];
|
||||
$time = $row['createtime'];
|
||||
@ -162,6 +165,7 @@ class FirstTopupController extends BaseAuthedController
|
||||
$status[$i] = $this->getStatus($i, $time);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $status;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user