1
This commit is contained in:
parent
12aa60ec18
commit
0b225c2ee0
@ -413,7 +413,7 @@ class PreSaleInfo(object):
|
|||||||
['batch_id', 0, '批次id(目前客户端没用到先不用管)'],
|
['batch_id', 0, '批次id(目前客户端没用到先不用管)'],
|
||||||
['countdown', 0, '预售倒计时'],
|
['countdown', 0, '预售倒计时'],
|
||||||
['sold_num', 0, '已售数'],
|
['sold_num', 0, '已售数'],
|
||||||
['inventory_num', 0, '库存数'],
|
['total_num', 0, '库存数'],
|
||||||
['hint', '', '预售文字描述'],
|
['hint', '', '预售文字描述'],
|
||||||
['buyed', 0, '自己是否已购'],
|
['buyed', 0, '自己是否已购'],
|
||||||
]
|
]
|
||||||
|
@ -45,7 +45,7 @@ class MarketController extends BaseController {
|
|||||||
'batch_id' => $currBatchMeta['batch_id'],
|
'batch_id' => $currBatchMeta['batch_id'],
|
||||||
'countdown' => max(0, $currBatchMeta['_start_time_utc'] - myself()->_getNowTime()),
|
'countdown' => max(0, $currBatchMeta['_start_time_utc'] - myself()->_getNowTime()),
|
||||||
'sold_num' => 0,
|
'sold_num' => 0,
|
||||||
'inventory_num' => $currBatchMeta['number_of_props'],
|
'total_num' => $currBatchMeta['number_of_props'],
|
||||||
'hint' => str_replace("\n", '\n', $currBatchMeta['hint']),
|
'hint' => str_replace("\n", '\n', $currBatchMeta['hint']),
|
||||||
'buyed' => rand() % 2 < 1 ? 0 : 1
|
'buyed' => rand() % 2 < 1 ? 0 : 1
|
||||||
);
|
);
|
||||||
|
@ -85,6 +85,13 @@ class NewMarketController extends BaseController {
|
|||||||
|
|
||||||
public function buyBox()
|
public function buyBox()
|
||||||
{
|
{
|
||||||
|
$type = getReqVal('type', '');
|
||||||
|
$buyer_address = getReqVal('buyer_address', '');
|
||||||
|
$price = getReqVal('price', '');
|
||||||
|
$payment_token_address = getReqVal('payment_token_address', '');
|
||||||
|
$nonce = getReqVal('nonce', '');
|
||||||
|
$signature = getReqVal('signature', '');
|
||||||
|
|
||||||
myself()->_rspOk();
|
myself()->_rspOk();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user