1
This commit is contained in:
parent
0e7f7565ea
commit
899a84d3f3
@ -191,12 +191,12 @@ class BagController extends BaseAuthedController {
|
||||
$errMsg = 'Parameter error name length must not be greater than 12';
|
||||
return;
|
||||
}
|
||||
if(!preg_match("/^[a-z\d]*$/i",$name))
|
||||
/*if(!preg_match("/^[a-z\d]*$/i",$name))
|
||||
{
|
||||
$errCode = 5;
|
||||
$errMsg = 'Excuse me , the name you entered is in the wrong format.';
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
$nameService = new services\NameService();
|
||||
if (!$nameService->verifyNameSign($name, $nameSign)){
|
||||
$errCode = 5;
|
||||
|
@ -41,6 +41,7 @@ class BlockChainController extends BaseAuthedController {
|
||||
)));
|
||||
return;
|
||||
}
|
||||
error_log(json_encode($_REQUEST));
|
||||
}
|
||||
|
||||
public function getTransactionList()
|
||||
@ -266,6 +267,9 @@ class BlockChainController extends BaseAuthedController {
|
||||
myself()->_rspErr(1, 'num paramater error');
|
||||
return;
|
||||
}
|
||||
error_log(json_encode(
|
||||
$_REQUEST
|
||||
));
|
||||
if (!$itemDb || $itemDb['item_num'] < $num) {
|
||||
myself()->_rspErr(1, 'item not enough');
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user