跳转到主要内容

查询已注销账号信息

查询已申请账号注销的信息。 提供注销请求时登记的注销留言及预计删除日期。

调用信息

AccountManager.WithDrawalSearch(string withdrawalKey, PlayNANOODelegate callback) {}

调用详细信息

参数说明类型
withdrawalKey认证服务返回的账号注销查询密钥string
callback通信结果PlayNANOODelegate

源代码

using PlayNANOO;

public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;

void Start()
{
plugin = Plugin.GetInstance();

string withdrawalKey = "string";
plugin.AccountManagerV20240401.WithDrawalSearch(withdrawalKey, (status, errorCode, jsonString, values) => {
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
Debug.Log(values["Memo"].ToString());
Debug.Log(values["WithdrawalDate"].ToString());
}
else
{
Debug.Log("Fail");
}
});
}
}

通信结果

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Status" : "String"
}

通信结果详细信息

数据键说明类型
Memo注销留言string
WithdrawalDate账号预计删除日期string