作者 王智

daima

@@ -811,9 +811,7 @@ class User extends Api @@ -811,9 +811,7 @@ class User extends Api
811 } 811 }
812 curl_close($ch); 812 curl_close($ch);
813 $curl_result = json_decode($output, true); 813 $curl_result = json_decode($output, true);
814 - dump($curl_result);  
815 - die;  
816 - $sessionKey = $curl_result['sessionKey']; 814 + $sessionKey = $curl_result['session_Key'];
817 $options = [ 815 $options = [
818 'mini_program' => [ 816 'mini_program' => [
819 'app_id' => 'component-app-id', 817 'app_id' => 'component-app-id',