|
@@ -52,11 +52,11 @@ class CoflController extends Controller
|
|
|
}
|
|
|
$crm = $request->get('crm');
|
|
|
//获取用户
|
|
|
- //$user = $this->getUsers($openid);
|
|
|
+ $user = $this->getUsers($openid);
|
|
|
$test_param = $request->input('test',0);
|
|
|
- //if($test_param ==1 || $test_param =='1' ) {
|
|
|
+ if($test_param ==1 || $test_param =='1' ) {
|
|
|
$user = $this->getUsersV2($openid,$bid);
|
|
|
- //}
|
|
|
+ }
|
|
|
|
|
|
if(!$user[0]){
|
|
|
$user[1] = 123;
|