"支付二维码","qr"=>"支付二维码","order_number"=>"订单编号"] * @throws PayException */ public static function getCodePayUrl(GetCodePayUrlParamBean $bean) { return PayService::getCodePayUrlService($bean); } /** * 根据官方订单编号获取订单 * @param $token string token * @param $trade_sn string 官方订单编号 * @param $amount int 金额(单位为分) * @return ["order_sn"=>"淘象订单编号","price"=>"支付金额(单位为分)"] */ public static function getOfficialOrderByOrderNumber($token, $trade_sn, $amount) { return PayService::getOfficialOrderByOrderNumberService($token,$trade_sn,$amount); } /** * 获取支付方式 * @param $appKey * @param $appSecret */ public static function getPayMethod($appKey, $appSecret) { return PayService::getPayMethodService($appKey,$appSecret); } }