作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

bug

@@ -123,9 +123,9 @@ class GoodsdetailsController extends WeChatBaseController{ @@ -123,9 +123,9 @@ class GoodsdetailsController extends WeChatBaseController{
123 //如果是老师身份 123 //如果是老师身份
124 if($my_user['status'] == 3){ 124 if($my_user['status'] == 3){
125 if(empty($goods_id['id'])){ 125 if(empty($goods_id['id'])){
126 - $url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/3/id/".$my_user['id']; 126 + $url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/2/id/".$my_user['id'];
127 }else{ 127 }else{
128 - $url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/3/id/".$goods_id['id']; 128 + $url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/2/id/".$goods_id['id'];
129 } 129 }
130 130
131 } 131 }
@@ -133,9 +133,9 @@ class GoodsdetailsController extends WeChatBaseController{ @@ -133,9 +133,9 @@ class GoodsdetailsController extends WeChatBaseController{
133 if($my_user['status'] == 4){ 133 if($my_user['status'] == 4){
134 $teacher_my_user = Db::name('my_user') -> where('id',$my_user['pid']) -> find(); 134 $teacher_my_user = Db::name('my_user') -> where('id',$my_user['pid']) -> find();
135 if(empty($goods_id['id'])){ 135 if(empty($goods_id['id'])){
136 - $url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/4/id/".$teacher_my_user['id']; 136 + $url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/3/id/".$teacher_my_user['id'];
137 }else{ 137 }else{
138 - $url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/4/id/".$goods_id['id']; 138 + $url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/3/id/".$goods_id['id'];
139 } 139 }
140 140
141 } 141 }