This commit is contained in:
aozhiwei 2022-11-03 15:21:21 +08:00
parent 6addfe07fb
commit a6bab7fee4

View File

@ -27,6 +27,18 @@ use models\BuyRecord;
class BlockChainController extends BaseAuthedController {
public function _handlePre()
{
parent::_handlePre();
if (getReqVal('a') != 'getTransactionList') {
die(json_encode(array(
'errcode' => 501,
'errmsg' => 'you are not a wallet user'
)));
return;
}
}
public function getTransactionList()
{
$trans = array();