...
|
...
|
@@ -123,9 +123,9 @@ class GoodsdetailsController extends WeChatBaseController{ |
|
|
//如果是老师身份
|
|
|
if($my_user['status'] == 3){
|
|
|
if(empty($goods_id['id'])){
|
|
|
$url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/3/id/".$my_user['id'];
|
|
|
$url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/2/id/".$my_user['id'];
|
|
|
}else{
|
|
|
$url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/3/id/".$goods_id['id'];
|
|
|
$url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/2/id/".$goods_id['id'];
|
|
|
}
|
|
|
|
|
|
}
|
...
|
...
|
@@ -133,9 +133,9 @@ class GoodsdetailsController extends WeChatBaseController{ |
|
|
if($my_user['status'] == 4){
|
|
|
$teacher_my_user = Db::name('my_user') -> where('id',$my_user['pid']) -> find();
|
|
|
if(empty($goods_id['id'])){
|
|
|
$url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/4/id/".$teacher_my_user['id'];
|
|
|
$url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/3/id/".$teacher_my_user['id'];
|
|
|
}else{
|
|
|
$url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/4/id/".$goods_id['id'];
|
|
|
$url = "http://xkeasy.w.bronet.cn/portal/goodsdetails/goods_details/goods_id/".$goods_id['goods_id']."/status/3/id/".$goods_id['id'];
|
|
|
}
|
|
|
|
|
|
}
|
...
|
...
|
|