Commit d9b2ef92 by TingSong-Syu

支付中心的reloadUserBought加入参数userId

parent 7f7ca902
......@@ -52,8 +52,8 @@ use x2ts\rpc\RPCWrapper;
* @method Feature[] boughtFeatures(int $userId)
*/
class PayCenter extends RPCWrapper {
public function reloadUserBought() {
public function reloadUserBought(int $userId) {
X::logger()->trace("Package: {$this->package}");
self::rpc($this->package)->callVoid('reloadUserBought');
self::rpc($this->package)->callVoid('reloadUserBought', $userId);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment