|
@@ -6,10 +6,6 @@ class Info
|
|
|
public function dec($id, $cash)
|
|
|
{
|
|
|
$state = Dever::db('info', 'seller')->update($id, array('cash' => array('-', $cash)));
|
|
|
- $log['state'] = $state;
|
|
|
- $log['id'] = $id;
|
|
|
- $log['cash'] = $cash;
|
|
|
- Dever::log($log, 'dec');
|
|
|
return $state;
|
|
|
}
|
|
|
|
|
@@ -17,10 +13,6 @@ class Info
|
|
|
public function inc($id, $cash)
|
|
|
{
|
|
|
$state = Dever::db('info', 'seller')->update($id, array('cash' => array('+', $cash)));
|
|
|
- $log['state'] = $state;
|
|
|
- $log['id'] = $id;
|
|
|
- $log['cash'] = $cash;
|
|
|
- Dever::log($log, 'inc');
|
|
|
return $state;
|
|
|
}
|
|
|
|