64 lines
1.1 KiB
PHP
Executable File
64 lines
1.1 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: lock
|
|
* Date: 2019/2/24
|
|
* Time: 7:13 PM
|
|
*/
|
|
|
|
namespace app\common\wxpay\lib;
|
|
|
|
|
|
class WxPayNotifyReply extends WxPayDataBaseSignMd5
|
|
{
|
|
/**
|
|
*
|
|
* 设置错误码 FAIL 或者 SUCCESS
|
|
* @param string
|
|
*/
|
|
public function SetReturn_code($return_code)
|
|
{
|
|
$this->values['return_code'] = $return_code;
|
|
}
|
|
|
|
/**
|
|
*
|
|
* 获取错误码 FAIL 或者 SUCCESS
|
|
* @return string $return_code
|
|
*/
|
|
public function GetReturn_code()
|
|
{
|
|
return $this->values['return_code'];
|
|
}
|
|
|
|
/**
|
|
*
|
|
* 设置错误信息
|
|
* @param string $return_code
|
|
*/
|
|
public function SetReturn_msg($return_msg)
|
|
{
|
|
$this->values['return_msg'] = $return_msg;
|
|
}
|
|
|
|
/**
|
|
*
|
|
* 获取错误信息
|
|
* @return string
|
|
*/
|
|
public function GetReturn_msg()
|
|
{
|
|
return $this->values['return_msg'];
|
|
}
|
|
|
|
/**
|
|
*
|
|
* 设置返回参数
|
|
* @param string $key
|
|
* @param string $value
|
|
*/
|
|
public function SetData($key, $value)
|
|
{
|
|
$this->values[$key] = $value;
|
|
}
|
|
} |