Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->platform = 'wechat_unified_pay';
     $this->tradeType = 'NATIVE';
     array_push($this->keys, 'product_id');
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->platform = 'wechat_js_pay';
     $this->tradeType = 'JSAPI';
     array_push($this->keys, 'openid');
 }