"; const SIGN_METHOD_MD5 = 1; const SIGN_METHOD_SHA1 = 2; const BFB_PAY_INTERFACE_SERVICE_ID = 1; const BFB_QUERY_INTERFACE_SERVICE_ID = 11; const BFB_INTERFACE_VERSION = 2; const BFB_INTERFACE_ENCODING = 1; const BFB_INTERFACE_OUTPUT_FORMAT = 1; const BFB_INTERFACE_CURRENTCY = 1; } sp_conf::$LOG_FILE = IA_ROOT . '/data/logs/bfb_' . date('Ymd') . '.log'; sp_conf::$SP_NO = $payment['mchid']; sp_conf::$SP_KEY_FILE = $payment['signkey'];