Commit 059582a9 by 冷斌

添加 充值消息处理

parent 229f9ad7
......@@ -155,4 +155,25 @@ class SendcodeController extends AdminbaseController {
$this->display();
}
function change()
{
$id=intval($_GET['id']);
if($id){
$pushrecord = M("pushrecord");
$result=$pushrecord->where("id={$id} and status=0")->find();
if($result){
/* 更新 订单状态 */
$pushrecord->where("id='{$result['id']}'")->save(array("status"=>1));
$action="确认处理:{$id}";
setAdminLog($action);
$this->success('操作成功');
}else{
$this->error('数据传入失败!');
}
}else{
$this->error('数据传入失败!');
}
}
}
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