Commit 96a23bf3 by 冷斌

踢人

parent ed095427
...@@ -122,10 +122,11 @@ class CashController extends AdminbaseController { ...@@ -122,10 +122,11 @@ class CashController extends AdminbaseController {
$cash->create(); $cash->create();
$cash->uptime=time(); $cash->uptime=time();
$result=$cash->save(); $result=$cash->save();
var_dump($result);
die;
if($result){ if($result){
if($_POST['status']=='2'){ if($_POST['status']=='2'){
$cash2=M("users_cashrecord")->find($_POST['id']);
var_dump($cash2);
die;
// if () { // if () {
// M("users")->where("id='".$_POST['uid']."'")->setInc("votes",$_POST['votes']); // M("users")->where("id='".$_POST['uid']."'")->setInc("votes",$_POST['votes']);
// } // }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment