Exemplo n.º 1
0
 public function __construct()
 {
     $payments = session('paymentinfo');
     self::$appid = $payments['wxappid'];
     self::$mchid = $payments['wxmchid'];
     self::$certPath = $payments['cert_path'];
     self::$keyPath = $payments['key_path'];
 }