1
This commit is contained in:
parent
2199523301
commit
8a7de8c605
@ -116,6 +116,11 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
{
|
{
|
||||||
$type = getReqVal('type', 0);
|
$type = getReqVal('type', 0);
|
||||||
$uniid = getReqVal('uniid', 0);
|
$uniid = getReqVal('uniid', 0);
|
||||||
|
$accountAddress = strtolower(getReqVal('account_address', ''));
|
||||||
|
if ($accountAddress != myself()->_getAddress()) {
|
||||||
|
myself()->_rspErr(1, 'account address error');
|
||||||
|
return;
|
||||||
|
}
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 1:
|
case 1:
|
||||||
{
|
{
|
||||||
@ -169,6 +174,11 @@ class BlockChainController extends BaseAuthedController {
|
|||||||
public function mintGoldBullion()
|
public function mintGoldBullion()
|
||||||
{
|
{
|
||||||
$type = getReqVal('type', 0);
|
$type = getReqVal('type', 0);
|
||||||
|
$accountAddress = strtolower(getReqVal('account_address', ''));
|
||||||
|
if ($accountAddress != myself()->_getAddress()) {
|
||||||
|
myself()->_rspErr(1, 'account address error');
|
||||||
|
return;
|
||||||
|
}
|
||||||
$itemId = 0;
|
$itemId = 0;
|
||||||
$goldNum = 0;
|
$goldNum = 0;
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user