CI框架 微信扫码支付模式二

第一次做支付在网上找了些文章学习一下,这个封装的挺全面的,用着也比较简单  所以分享一下

微信扫码支付:模式二

下载官方demo:https://pay.weixin.qq.com/wiki/doc/api/native.PHP?chapter=11_1

首先下载官方demo,将文件当在libraries/  并命名为 Wxpay。在ci配置文件config/ 下新建 wxpay_config.php 并完成配置。

wxpay_config.php

[php]  view plain  copy
  1. <?php   
  2. defined('BASEPATH') OR exit('No direct script access allowed');  
  3.   
  4.     /** 
  5.      * TODO: 修改这里配置为您自己申请的商户信息 
  6.      * 微信公众号信息配置 
  7.      *  
  8.      * APPID:绑定支付的APPID(必须配置,开户邮件中可查看) 
  9.      *  
  10.      * MCHID:商户号(必须配置,开户邮件中可查看) 
  11.      *  
  12.      * KEY:商户支付密钥,参考开户邮件设置(必须配置,登录商户平台自行设置) 
  13.      * 设置地址:https://pay.weixin.qq.com/index.php/account/api_cert 
  14.      *  
  15.      * APPSECRET:公众帐号secert(仅JSAPI支付的时候需要配置, 登录公众平台,进入开发者中心可设置), 
  16.      * 获取地址:https://mp.weixin.qq.com/advanced/advanced?action=dev&t=advanced/dev&token=2005451881&lang=zh_CN 
  17.      * @var string 
  18.      */  
  19.   
  20.     $config['appid'] = '';  
  21.        
  22.     $config['mch_id'] = '';  
  23.        
  24.     $config['apikey'] = '';  
  25.        
  26.     $config['appsecret'] = '';  
  27.        
  28.     $config['sslcertPath'] =  APPPATH.'libraries/Wxpay/cert/apiclient_cert.pem';  
  29.        
  30.     $config['sslkeyPath'] = APPPATH.'libraries/Wxpay/cert/apiclient_key.pem';  


在libraries/ 下新建 CI_Wechatpay.php 。

CI_Wechatpay.php

[php]  view plain  copy
  1. <?php  
  2. defined('BASEPATH') OR exit('No direct script access allowed');  
  3.   
  4. // 加载微信支付  
  5. require_once APPPATH.'libraries/Wxpay/Wechatpay.php';  
  6.   
  7. /** 
  8.  * 为CI扩展微信支付类 
  9.  */  
  10. class CI_Wechatpay extends WechatPay {  
  11.   
  12.      
  13. }  

libraries/Wxpay/ 下新建Wechatpay.php   这是前辈封装好的。尽情的享用吧,其实这里已经把所以核心都封装起来了,所以demo中的文件只需要保留cert/   logs/ 、但libraries/Wxpay/example/log.php  这个很有用,所以要把它放在Wxpay/下。

Wechatpay.php

[php]  view plain  copy
  1. <?php  
  2. defined('BASEPATH') OR exit('No direct script access allowed');  
  3.   
  4. class WechatPay {  
  5.     const TRADETYPE_JSAPI = 'JSAPI',TRADETYPE_NATIVE = 'NATIVE',TRADETYPE_APP = 'APP';  
  6.     const URL_UNIFIEDORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";  
  7.     const URL_ORDERQUERY = "https://api.mch.weixin.qq.com/pay/orderquery";  
  8.     const URL_CLOSEORDER = 'https://api.mch.weixin.qq.com/pay/closeorder';  
  9.     const URL_REFUND = 'https://api.mch.weixin.qq.com/secapi/pay/refund';  
  10.     const URL_REFUNDQUERY = 'https://api.mch.weixin.qq.com/pay/refundquery';  
  11.     const URL_DOWNLOADBILL = 'https://api.mch.weixin.qq.com/pay/downloadbill';  
  12.     const URL_REPORT = 'https://api.mch.weixin.qq.com/payitil/report';  
  13.     const URL_SHORTURL = 'https://api.mch.weixin.qq.com/tools/shorturl';  
  14.     const URL_MICROPAY = 'https://api.mch.weixin.qq.com/pay/micropay';  
  15.     /** 
  16.      * 错误信息 
  17.      */  
  18.     public $error = null;  
  19.     /** 
  20.      * 错误信息XML 
  21.      */  
  22.     public $errorXML = null;  
  23.     /** 
  24.      * 微信支付配置数组 
  25.      * appid        公众账号appid 
  26.      * mch_id       商户号 
  27.      * apikey       加密key 
  28.      * appsecret    公众号appsecret 
  29.      * sslcertPath  证书路径(apiclient_cert.pem) 
  30.      * sslkeyPath   密钥路径(apiclient_key.pem) 
  31.      */  
  32.     private $_config;  
  33.     /** 
  34.      * @param $config 微信支付配置数组 
  35.      */  
  36.     public function __construct($config) {  
  37.         $this->_config = $config;  
  38.     }  
  39.     /** 
  40.      * JSAPI获取prepay_id 
  41.      * @param $body 
  42.      * @param $out_trade_no 
  43.      * @param $total_fee 
  44.      * @param $notify_url 
  45.      * @param $openid 
  46.      * @return null 
  47.      */  
  48.     public function getPrepayId($body,$out_trade_no,$total_fee,$notify_url,$openid) {  
  49.         $data = array();  
  50.         $data["nonce_str"]    = $this->get_nonce_string();  
  51.         $data["body"]         = $body;  
  52.         $data["out_trade_no"] = $out_trade_no;  
  53.         $data["total_fee"]    = $total_fee;  
  54.         $data["spbill_create_ip"] = $_SERVER["REMOTE_ADDR"];  
  55.         $data["notify_url"]   = $notify_url;  
  56.         $data["trade_type"]   = self::TRADETYPE_JSAPI;  
  57.         $data["openid"]   = $openid;  
  58.         $result = $this->unifiedOrder($data);  
  59.         if ($result["return_code"] == "SUCCESS" && $result["result_code"] == "SUCCESS") {  
  60.             return $result["prepay_id"];  
  61.         } else {  
  62.             $this->error = $result["return_code"] == "SUCCESS" ? $result["err_code_des"] : $result["return_msg"];  
  63.             $this->errorXML = $this->array2xml($result);  
  64.             return null;  
  65.         }  
  66.     }  
  67.     private function get_nonce_string() {  
  68.         return substr(str_shuffle("abcdefghijklmnopqrstuvwxyz0123456789"),0,32);  
  69.     }  
  70.     /** 
  71.      * 统一下单接口 
  72.      */  
  73.     public function unifiedOrder($params) {  
  74.         $data = array();  
  75.         $data["appid"] = $this->_config["appid"];  
  76.         $data["mch_id"] = $this->_config["mch_id"];  
  77.         $data["device_info"] = (isset($params['device_info'])&&trim($params['device_info'])!='')?$params['device_info']:null;  
  78.         $data["nonce_str"] = $this->get_nonce_string();  
  79.         $data["body"] = $params['body'];  
  80.         $data["detail"] = isset($params['detail'])?$params['detail']:null;//optional  
  81.         $data["attach"] = isset($params['attach'])?$params['attach']:null;//optional  
  82.         $data["out_trade_no"] = isset($params['out_trade_no'])?$params['out_trade_no']:null;  
  83.         $data["fee_type"] = isset($params['fee_type'])?$params['fee_type']:'CNY';  
  84.         $data["total_fee"]    = $params['total_fee'];  
  85.         $data["spbill_create_ip"] = $params['spbill_create_ip'];  
  86.         $data["time_start"] = isset($params['time_start'])?$params['time_start']:null;//optional  
  87.         $data["time_expire"] = isset($params['time_expire'])?$params['time_expire']:null;//optional  
  88.         $data["goods_tag"] = isset($params['goods_tag'])?$params['goods_tag']:null;  
  89.         $data["notify_url"] = $params['notify_url'];  
  90.         $data["trade_type"] = $params['trade_type'];  
  91.         $data["product_id"] = isset($params['product_id'])?$params['product_id']:null;//required when trade_type = NATIVE  
  92.         $data["openid"] = isset($params['openid'])?$params['openid']:null;//required when trade_type = JSAPI  
  93.         $result = $this->post(self::URL_UNIFIEDORDER, $data);  
  94.         return $result;  
  95.     }  
  96.     private function post($url$data,$cert = false) {  
  97.         $data["sign"] = $this->sign($data);  
  98.         $xml = $this->array2xml($data);  
  99.         $ch = curl_init();  
  100.         curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);  
  101.         curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);  
  102.         curl_setopt($ch, CURLOPT_POST, 1);  
  103.         curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);  
  104.         curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);  
  105.         curl_setopt($ch, CURLOPT_URL, $url);  
  106.         if($cert == true){  
  107.             //使用证书:cert 与 key 分别属于两个.pem文件  
  108.             curl_setopt($ch,CURLOPT_SSLCERTTYPE,'PEM');  
  109.             curl_setopt($ch,CURLOPT_SSLCERT, $this->_config['sslcertPath']);  
  110.             curl_setopt($ch,CURLOPT_SSLKEYTYPE,'PEM');  
  111.             curl_setopt($ch,CURLOPT_SSLKEY, $this->_config['sslkeyPath']);  
  112.         }  
  113.         $content = curl_exec($ch);  
  114.         $array = $this->xml2array($content);  
  115.         return $array;  
  116.     }  
  117.     /** 
  118.      * 数据签名 
  119.      * @param $data 
  120.      * @return string 
  121.      */  
  122.     private function sign($data) {  
  123.         ksort($data);  
  124.         $string1 = "";  
  125.         foreach ($data as $k => $v) {  
  126.             if ($v && trim($v)!='') {  
  127.                 $string1 .= "$k=$v&";  
  128.             }  
  129.         }  
  130.         $stringSignTemp = $string1 . "key=" . $this->_config["apikey"];  
  131.         $sign = strtoupper(md5($stringSignTemp));  
  132.         return $sign;  
  133.     }  
  134.     private function array2xml($array) {  
  135.         $xml = "<xml>" . PHP_EOL;  
  136.         foreach ($array as $k => $v) {  
  137.             if($v && trim($v)!='')  
  138.                 $xml .= "<$k><![CDATA[$v]]></$k>" . PHP_EOL;  
  139.         }  
  140.         $xml .= "</xml>";  
  141.         return $xml;  
  142.     }  
  143.     private function xml2array($xml) {  
  144.         $array = array();  
  145.         $tmp = null;  
  146.         try{  
  147.             $tmp = (array) simplexml_load_string($xml);  
  148.         }catch(Exception $e){}  
  149.         if($tmp && is_array($tmp)){  
  150.             foreach ( $tmp as $k => $v) {  
  151.                 $array[$k] = (string) $v;  
  152.             }  
  153.         }  
  154.         return $array;  
  155.     }  
  156.     /** 
  157.      * 扫码支付(模式二)获取支付二维码 
  158.      * @param $body 
  159.      * @param $out_trade_no 
  160.      * @param $total_fee 
  161.      * @param $notify_url 
  162.      * @param $product_id 
  163.      * @return null 
  164.      */  
  165.     public function getCodeUrl($body,$out_trade_no,$total_fee,$notify_url,$product_id){  
  166.         $data = array();  
  167.         $data["nonce_str"]    = $this->get_nonce_string();  
  168.         $data["body"]         = $body;  
  169.         $data["out_trade_no"] = $out_trade_no;  
  170.         $data["total_fee"]    = $total_fee;  
  171.         $data["spbill_create_ip"] = $_SERVER["SERVER_ADDR"];  
  172.         $data["notify_url"]   = $notify_url;  
  173.         $data["trade_type"]   = self::TRADETYPE_NATIVE;  
  174.         $data["product_id"]   = $product_id;  
  175.         $result = $this->unifiedOrder($data);  
  176.         if ($result["return_code"] == "SUCCESS" && $result["result_code"] == "SUCCESS") {  
  177.             return $result["code_url"];  
  178.         } else {  
  179.             $this->error = $result["return_code"] == "SUCCESS" ? $result["err_code_des"] : $result["return_msg"];  
  180.             return null;  
  181.         }  
  182.     }  
  183.     /** 
  184.      * 查询订单 
  185.      * @param $transaction_id 
  186.      * @param $out_trade_no 
  187.      * @return array 
  188.      */  
  189.     public function orderQuery($transaction_id,$out_trade_no){  
  190.         $data = array();  
  191.         $data["appid"] = $this->_config["appid"];  
  192.         $data["mch_id"] = $this->_config["mch_id"];  
  193.         $data["transaction_id"] = $transaction_id;  
  194.         $data["out_trade_no"] = $out_trade_no;  
  195.         $data["nonce_str"] = $this->get_nonce_string();  
  196.         $result = $this->post(self::URL_ORDERQUERY, $data);  
  197.         return $result;  
  198.     }  
  199.     /** 
  200.      * 关闭订单 
  201.      * @param $out_trade_no 
  202.      * @return array 
  203.      */  
  204.     public function closeOrder($out_trade_no){  
  205.         $data = array();  
  206.         $data["appid"] = $this->_config["appid"];  
  207.         $data["mch_id"] = $this->_config["mch_id"];  
  208.         $data["out_trade_no"] = $out_trade_no;  
  209.         $data["nonce_str"] = $this->get_nonce_string();  
  210.         $result = $this->post(self::URL_CLOSEORDER, $data);  
  211.         return $result;  
  212.     }  
  213.     /** 
  214.      * 申请退款 - 使用商户订单号 
  215.      * @param $out_trade_no 商户订单号 
  216.      * @param $out_refund_no 退款单号 
  217.      * @param $total_fee 总金额(单位:分) 
  218.      * @param $refund_fee 退款金额(单位:分) 
  219.      * @param $op_user_id 操作员账号 
  220.      * @return array 
  221.      */  
  222.     public function refund($out_trade_no,$out_refund_no,$total_fee,$refund_fee,$op_user_id){  
  223.         $data = array();  
  224.         $data["appid"] = $this->_config["appid"];  
  225.         $data["mch_id"] = $this->_config["mch_id"];  
  226.         $data["nonce_str"] = $this->get_nonce_string();  
  227.         $data["out_trade_no"] = $out_trade_no;  
  228.         $data["out_refund_no"] = $out_refund_no;  
  229.         $data["total_fee"] = $total_fee;  
  230.         $data["refund_fee"] = $refund_fee;  
  231.         $data["op_user_id"] = $op_user_id;  
  232.         $result = $this->post(self::URL_REFUND, $data,true);  
  233.         return $result;  
  234.     }  
  235.     /** 
  236.      * 申请退款 - 使用微信订单号 
  237.      * @param $out_trade_no 商户订单号 
  238.      * @param $out_refund_no 退款单号 
  239.      * @param $total_fee 总金额(单位:分) 
  240.      * @param $refund_fee 退款金额(单位:分) 
  241.      * @param $op_user_id 操作员账号 
  242.      * @return array 
  243.      */  
  244.     public function refundByTransId($transaction_id,$out_refund_no,$total_fee,$refund_fee,$op_user_id){  
  245.         $data = array();  
  246.         $data["appid"] = $this->_config["appid"];  
  247.         $data["mch_id"] = $this->_config["mch_id"];  
  248.         $data["nonce_str"] = $this->get_nonce_string();  
  249.         $data["transaction_id"] = $transaction_id;  
  250.         $data["out_refund_no"] = $out_refund_no;  
  251.         $data["total_fee"] = $total_fee;  
  252.         $data["refund_fee"] = $refund_fee;  
  253.         $data["op_user_id"] = $op_user_id;  
  254.         $result = $this->post(self::URL_REFUND, $data,true);  
  255.         return $result;  
  256.     }  
  257.     /** 
  258.      * 下载对账单 
  259.      * @param $bill_date 下载对账单的日期,格式:20140603 
  260.      * @param $bill_type 类型 
  261.      * @return array 
  262.      */  
  263.     public function downloadBill($bill_date,$bill_type = 'ALL'){  
  264.         $data = array();  
  265.         $data["appid"] = $this->_config["appid"];  
  266.         $data["mch_id"] = $this->_config["mch_id"];  
  267.         $data["bill_date"] = $bill_date;  
  268.         $data["bill_type"] = $bill_type;  
  269.         $data["nonce_str"] = $this->get_nonce_string();  
  270.         $result = $this->post(self::URL_DOWNLOADBILL, $data);  
  271.         return $result;  
  272.     }  
  273.     /** 
  274.      * 获取js支付使用的第二个参数 
  275.      */  
  276.     public function get_package($prepay_id) {  
  277.         $data = array();  
  278.         $data["appId"] = $this->_config["appid"];  
  279.         $data["timeStamp"] = time();  
  280.         $data["nonceStr"]  = $this->get_nonce_string();  
  281.         $data["package"]   = "prepay_id=$prepay_id";  
  282.         $data["signType"]  = "MD5";  
  283.         $data["paySign"]   = $this->sign($data);  
  284.         return $data;  
  285.     }  
  286.     /** 
  287.      * 获取发送到通知地址的数据(在通知地址内使用) 
  288.      * @return 结果数组,如果不是微信服务器发送的数据返回null 
  289.      *          appid 
  290.      *          bank_type 
  291.      *          cash_fee 
  292.      *          fee_type 
  293.      *          is_subscribe 
  294.      *          mch_id 
  295.      *          nonce_str 
  296.      *          openid 
  297.      *          out_trade_no    商户订单号 
  298.      *          result_code 
  299.      *          return_code 
  300.      *          sign 
  301.      *          time_end 
  302.      *          total_fee       总金额 
  303.      *          trade_type 
  304.      *          transaction_id  微信支付订单号 
  305.      */  
  306.     public function get_back_data() {  
  307.         $xml = file_get_contents("php://input");  
  308.         $data = $this->xml2array($xml);  
  309.         if ($this->validate($data)) {  
  310.             return $data;  
  311.         } else {  
  312.             return null;  
  313.         }  
  314.     }  
  315.     /** 
  316.      * 验证数据签名 
  317.      * @param $data 数据数组 
  318.      * @return 数据校验结果 
  319.      */  
  320.     public function validate($data) {  
  321.         if (!isset($data["sign"])) {  
  322.             return false;  
  323.         }  
  324.         $sign = $data["sign"];  
  325.         unset($data["sign"]);  
  326.         return $this->sign($data) == $sign;  
  327.     }  
  328.     /** 
  329.      * 响应微信支付后台通知 
  330.      * @param $return_code 返回状态码 SUCCESS/FAIL 
  331.      * @param $return_msg  返回信息 
  332.      */  
  333.     public function response_back($return_code="SUCCESS"$return_msg=null) {  
  334.         $data = array();  
  335.         $data["return_code"] = $return_code;  
  336.         if ($return_msg) {  
  337.             $data["return_msg"] = $return_msg;  
  338.         }  
  339.         $xml = $this->array2xml($data);  
  340.         print $xml;  
  341.     }  
  342. }  


接下来我是在 controller/order.php 文件下封装个方法   这里也用到了log.php ,注意看使用方法。在调bug时非常好用。

Order.php

[php]  view plain  copy
  1. /** 
  2.   * wxPay 微信支付接口 
  3.   * @param $Id 订单ID 
  4.   * @author lyne 
  5.   */  
  6.  public function wxPay($id){  
  7.   
  8.      require_once (APPPATH.'libraries/Wxpay/log.php');  
  9.      //初始化日志  
  10.      $logHandlernew CLogFileHandler(APPPATH."libraries/Wxpay/logs/".date('Y-m-d').'.log');  
  11.      Log::Init($logHandler, 15);  
  12.   
  13.      // 查预先生成的订单信息  
  14.      $this->load->model('order_model');  
  15.      $o = $this->order_model->getMyOrderDetails($id);  
  16.      // 调用微信扫码支付接口配置信息  
  17.      $this->load->config('wxpay_config');  
  18.      $wxconfig['appid']=$this->config->item('appid');  
  19.      $wxconfig['mch_id']=$this->config->item('mch_id');  
  20.      $wxconfig['apikey']=$this->config->item('apikey');  
  21.      $wxconfig['appsecret']=$this->config->item('appsecret');  
  22.      $wxconfig['sslcertPath']=$this->config->item('sslcertPath');  
  23.      $wxconfig['sslkeyPath']=$this->config->item('sslkeyPath');  
  24.      //由于此类库构造函数需要传参,我们初始化类库就传参数给他吧  
  25.      $this->load->library('CI_Wechatpay',$wxconfig);  
  26.   
  27.      $param['body']=$o['goods_name']; //"商品名称(自行看文档具体填什么)";  
  28.      $param['attach']=$o['id']; // "我有个参数要传我就穿了个id过来,这里不要有空格避免出错";  
  29.      $param['detail']=$o['order_code'];  //"我填了商品名称加订单号";  
  30.      $param['out_trade_no']=$o['order_code']; //"商户订单号";  
  31.      $param['total_fee']=$o['order_amount']*100; //"金额,记得乘以100,微信支付单位默认分";//如$total_fee*100  
  32.      $param["spbill_create_ip"] =$_SERVER['REMOTE_ADDR'];//客户端IP地址  
  33.      $param["time_start"] = date("YmdHis");//请求开始时间  
  34.      $param["time_expire"] = date("YmdHis", time() + 600);//请求超时时间 10分钟  
  35.      $param["goods_tag"] = urldecode('运费:') . $o['postage']; //商品标签,自行填写  
  36.      $param["notify_url"] = "http://".$_SERVER['HTTP_HOST']."/wxnotify/"; //自行定义异步通知url  
  37.      $param["trade_type"] = "NATIVE";//扫码支付模式二  
  38.      $param["product_id"] = $o['goods_id']; //正好有产品id就传了个,看文档说自己定义  
  39.      //调用统一下单API接口  
  40.      $result=$this->ci_wechatpay->unifiedOrder($param);//这里可以加日志输出,  
  41.      // 写入日志  
  42.      log::debug(json_encode($result));  
  43.      //成功(return_code和result_code都为SUCCESS)就会返回含有带支付二维码链接的数据  
  44.      $data=array();  
  45.      if (isset($result["code_url"]) && !empty($result["code_url"])) {//二维码图片链接  
  46.          $data['wxurl'] = $result["code_url"];  
  47.          //这里传递商户订单号到扫码视图,是因为我想做跳转,根据商户号去查询订单是否支付成功,如果成功了就跳转,定时轮询微信服务器(这个谁有好的方法可以分享给我啊,表示感谢啦)  
  48.          $data['orderno'] = $param['out_trade_no'];  
  49.          // 写入日志  
  50.            
  51.          $this->assign('time_expire',strtotime($param["time_expire"])); //订单失效时间  
  52.          $this->assign('order_no',$data['orderno']);  
  53.          $this->assign('wxurl',urlencode($data['wxurl'])); // 获取到的二维码地址  
  54.          $this->display('wxpay/index.html');  
  55.      }  
  56.   
  57.  }  

view/wxpay/index.html

[php]  view plain  copy
  1. <!doctype html>  
  2. <html>  
  3. <head>  
  4. <meta charset="utf-8">  
  5. <meta http-equiv="x-ua-compatible" content="ie=8" />  
  6. <title>微信支付</title>  
  7. </head>  
  8. <body>  
  9.     <div style="margin-left: 10px;color:#556B2F;font-size:30px;font-weight: bolder;">微信扫码支付测试</div><br/>  
  10.     <img alt="模式二扫码支付" src="http://paysdk.weixin.qq.com/example/qrcode.php?data={{$wxurl}}" width="150"/>  
  11.     <input type="hidden" name="orderNo" value="{{$order_no}}">  
  12.     <input type="hidden" name="timeExpire" value="{{$time_expire}}">  
  13. </body>  
  14. </html>  
  15. <script>  
  16.   
  17.     // 每3秒请求一次数据,然后判断,跳转   
  18.     $(function(){  
  19.         timestamp = Date.parse( new Date())/1000; // 当前时间戳  
  20.         orderno = $("input[name='orderNo']").val(); // 订单编号  
  21.         timeExpire = $("input[name='timeExpire']").val(); // 订单失效时间  
  22.         start = setInterval("checkstatus(orderno)", 3000);  
  23.     });  
  24.    
  25.     function checkstatus(order_no){  
  26.         if(timestamp > timeExpire){  // 当前时间大于失效时间时,清除轮询  
  27.             window.clearInterval(start);  
  28.         }else{  
  29.   
  30.        $.ajax({  
  31.            // 这里调用wechatpay.php中的orderQuery接口查询订单状态  
  32.                // 当返回值trade_state == "SUCCESS" 这个时候可以修改你的订单状态了哦。  
  33.   
  34.            });  
  35.               
  36.     }  
  37.     }  

  1. </script>  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值