作者 anyv
1 个管道 的构建 通过 耗费 0 秒

5

... ... @@ -133,7 +133,6 @@ class IndexController extends WeChatBaseController
if($data_id['status_id'] == 2){
//业务员分享 添加老师
$my_user_phone = Db::name('my_user') -> where('id',$data_id['my_user_id']) -> find();
dump($my_user_phone);die;
$data_inser['status'] = 3;
$data_inser['uid'] = $uid;
$data_inser['inviter_phone'] = $my_user_phone['phone'];
... ...
... ... @@ -204,8 +204,8 @@ class WeChatBaseController extends BaseController
*/
public function checkWeChatUserLogin()
{
$user = Db::name('user')->where('id',2)->find();
cmf_update_current_user($user);
/*$user = Db::name('user')->where('id',2)->find();
cmf_update_current_user($user);*/
$userId = cmf_get_current_user_id();
if (empty($userId)) {
$config = [
... ...