예제 #1
0
 public function autotenderplan()
 {
     $transamt = $_POST['tendamount'];
     $user = M("members")->field("usrid")->where("id=" . $this->uid)->find();
     $usrid = $user['usrid'];
     $type = member_type($this->uid);
     if ($type['status'] != 3) {
         $this->error("您是" . $type['type'] . "用户不能投标");
     }
     import("ORG.Huifu.Huifu");
     $huifu = new Huifu();
     $huifu->autoTenderPlan($usrid, $transamt);
 }