Commit 0a450791 by 冷斌

fix bug

parent 27935ef5
...@@ -107,9 +107,9 @@ class Model_Live extends PhalApi_Model_NotORM { ...@@ -107,9 +107,9 @@ class Model_Live extends PhalApi_Model_NotORM {
/* 关播 */ /* 关播 */
public function stopRoom($uid,$stream) { public function stopRoom($uid,$stream) {
DI()->notorm->users_live_image // DI()->notorm->users_live_image
->where('uid=?',$uid) // ->where('uid=?',$uid)
->delete(); // ->delete();
$info=DI()->notorm->users_live $info=DI()->notorm->users_live
->select("uid,showid,starttime,title,province,city,stream,lng,lat,type,type_val,liveclassid") ->select("uid,showid,starttime,title,province,city,stream,lng,lat,type,type_val,liveclassid")
->where('uid=? and stream=? and islive="1"',$uid,$stream) ->where('uid=? and stream=? and islive="1"',$uid,$stream)
......
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