Commit f7b0aa59 by 冷斌

fix bug

parent 409f141b
......@@ -437,10 +437,10 @@ class ZyServiceModel
//查询教师用户uid
$teacher_uid = M('zy_teacher')->where(array('id' => $video['teacher_id']))->getField('uid');
$teacher_uid = M('user')->where(array('uid' => $teacher_uid))->getField('uid');
if (!$teacher_uid) {
return 8;
}
$teacher_uid = 0;
// if (!$teacher_uid) {
// return 8;
// }
//取得价格
$prices = getPrice($video, $uid, false, true);
......
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