We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public function attachExtension($cardId, array $extension = array()) { $timestamp = time(); $ext = array( 'code' => Arr::get($extension, 'code',''), 'openid' => Arr::get($extension, 'openid', Arr::get($extension, 'open_id','')), 'timestamp' => $timestamp, 'outer_id' => Arr::get($extension, 'outer_id',''), ); $ext['signature'] = $this->getSignature( $this->getTicket(), $timestamp, $cardId, $ext['code'], $ext['openid'] ); return array( "cardId" => $cardId, "cardExt" => JSON::encode($ext), ); }
之前返回的是 card_id,card_ext 界面显示不出卡券信息,改成cardId,cardExt就可以了
The text was updated successfully, but these errors were encountered:
OK,多谢!
Sorry, something went wrong.
Fix #56
f2d4864
No branches or pull requests
之前返回的是 card_id,card_ext 界面显示不出卡券信息,改成cardId,cardExt就可以了
The text was updated successfully, but these errors were encountered: