Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ios下报timestamp错误 #3

@yeahcheung

Description

@yeahcheung

src\Message\CreateOrderResponse.php中42号中的time改为字符串

修改后代码:
$time = time();
$data = array (
'appId' => $this->request->getAppId(),
'package' => 'prepay_id=' . $this->getPrepayId(),
'nonceStr' => md5(uniqid()),
'timeStamp' => "$time",
'signType' => 'MD5',
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions