yongjin.xiong
yongjin.xiong

性别: 注册于 2017-11-07

向TA求助
15金币数
90 经验值
1个粉丝
主页被访问 1784 次

3 个回答

0 赞同

积分不可以提现吗?

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->findFollow($where);if($follow){...

回答于 2017-11-07 11:14

0 赞同

测试测试

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->findFollow($where);if($follow){...

回答于 2017-11-07 11:13

0 赞同

功能不错,就是网页UI和编辑器太丑。不考虑改好?

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->findFollow($where);if($follow){...

回答于 2017-11-07 11:13