initial commit

This commit is contained in:
2026-06-25 13:03:45 +06:00
commit 4589f4a8d0
3229 changed files with 941958 additions and 0 deletions

32
app/Model/Wallet.php Normal file
View File

@@ -0,0 +1,32 @@
<?php
class Wallet extends AppModel
{
var $name='Wallet';
function list($conditions = array() )
{
return $this->find('all', array('conditions' => $conditions));
}
function add($inputData)
{
$result = false;
if(!empty($inputData))
{
$fileds = array();
$dbData["Wallet"] = $inputData;
if($this->save($dbData,false,$fileds)){
$dbData["Wallet"]['id'] = $this->id;
$result = true;
}
}
return array($result,$dbData["Wallet"]);
}
}
?>