Mini Program does not know how to fill in the official demo configuration file.

this is the content of the WxPay.Config.Interface.php file

<?php
/**
*     
*/

abstract class WxPayConfigInterface
{
    //============================================
    /**
     * TODO: 
     * 
     * 
     * APPID:APPID
     * 
     * MCHID:
     * 
     */
    public abstract function GetAppId();
    public abstract function GetMerchantId();
    
    
    //=======:/===================================
    /**
    * TODO:url
    *  md5sha256
    **/
    public abstract function GetNotifyUrl();
    public abstract function GetSignType();

    //=======curl===================================
    /**
     * TODO:0.0.0.00
     * curlHTTP POST
     * CURL_PROXY_HOST=0.0.0.0CURL_PROXY_PORT=0
     * @var unknown_type
     */
    public abstract function GetProxy(&$proxyHost, &$proxyPort);
    

    //==========================================
    /**
     * TODO::1s
     * 
     * 
     * 0.; 1.; 2.
     * @var int
     */
    public abstract function GetReportLevenl();


    //=======-===================================
    /*
     * KEY:,  
     * :https://pay.weixin.qq.com/index.php/account/api_cert
     * 
     * APPSECRET:secertJSAPI   
     * :https://mp.weixin.qq.com/advanced/advanced?action=dev&t=advanced/dev&token=2005451881&lang=zh_CN
     * @var string
     */
    public abstract function GetKey();
    public abstract function GetAppSecret();


    //=======-=====================================
    /**
     * TODO:
     * ,
     * API:https://pay.weixin.qq.com/index.php/account/api_cert
     * :
     * 1.web;
     * 2.;
     * 3.
     * @var path
     */
    public abstract function GetSSLCertPath(&$sslCertPath, &$sslKeyPath);
}

and official demo? I have made several Mini Program payments and have never seen the official demo.


<?php
class WxPayConfig extends WxPayConfigInterface
{
    public function GetAppId()
    {
        return 'wx426b3015555a46be';
    }
    public function GetMerchantId()
    {
        return '1900009851';
    }
    //
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b302de-2bce5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b302de-2bce5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?