Commit 794ebe31 by 冷斌

fix bug

parent 58beea0b
...@@ -115,7 +115,6 @@ class ExamsPaperModel extends Model ...@@ -115,7 +115,6 @@ class ExamsPaperModel extends Model
public function isBuy($id, $uid) public function isBuy($id, $uid)
{ {
$order = M('exams_paper_order')->where("uid = {$uid} and paper_id = {$id} and pay_status = 3")->getField('id'); $order = M('exams_paper_order')->where("uid = {$uid} and paper_id = {$id} and pay_status = 3")->getField('id');
var_dump($order);
return !empty($order) ? 1 : 0; return !empty($order) ? 1 : 0;
} }
......
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