1
This commit is contained in:
parent
6addfe07fb
commit
a6bab7fee4
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user