<?php
namespace Payment\Common\Weixin\Data; use Payment\Utils\StrUtil; class BackAppChargeData extends WxBaseData { protected function buildData() { $this->retData = [ 'appid' => $this->appId, 'partnerid' => $this->mchId, 'prepayid' => $this->prepay_id, 'package' => 'Sign=WXPay', 'noncestr' => StrUtil::getNonceStr(), 'timestamp' => time(), ]; } protected function checkDataParam() { } } 