2017-11-07 11:14 回答问题
public function addFollow(){$follow_obj = D('Follow');if(empty($_POST['m_id']) || empty($_POST['g_id'])){ apiResponse('error','您未登录或商品ID为空!');}$where['m_id'] = I('post.m_id');$where['g_id'] = I('post.g_id');//判断是否关注过$follow = $follow_obj->findF
2017-11-07 11:13 回答问题
public function addFollow(){$follow_obj = D('Follow');if(empty($_POST['m_id']) || empty($_POST['g_id'])){ apiResponse('error','您未登录或商品ID为空!');}$where['m_id'] = I('post.m_id');$where['g_id'] = I('post.g_id');//判断是否关注过$follow = $follow_obj->findF
2017-11-07 11:13 回答问题
public function addFollow(){$follow_obj = D('Follow');if(empty($_POST['m_id']) || empty($_POST['g_id'])){ apiResponse('error','您未登录或商品ID为空!');}$where['m_id'] = I('post.m_id');$where['g_id'] = I('post.g_id');//判断是否关注过$follow = $follow_obj->findF