nonce_str = "nonce_str"; } $api->SendWorkWxRedpack($SendWorkWxRedpackReq); } catch (Exception $e) { echo $e->getMessage() . "\n"; }