文档中心 - 有赞云 (youzanyun.com)
这个 sdk 是不是有问题(https://doc.youzanyun.com/detail/API/0/870),有几个类找不到比如 YouzanScrmCustomerCardDeleteUserParams
- //YouZanClient 建议全局唯一,使用 spring 容器管理
- YouZanClient yzClient = new DefaultYZClient();
- Token token = new Token("YOUR_TOKEN");
- YouzanScrmCustomerCardDelete youzanScrmCustomerCardDelete = new YouzanScrmCustomerCardDelete();
- //创建参数对象,并设置参数
- YouzanScrmCustomerCardDeleteParams youzanScrmCustomerCardDeleteParams = new YouzanScrmCustomerCardDeleteParams();
- youzanScrmCustomerCardDeleteParams.setCardAlias(Y1yla6con9yq80);
- YouzanScrmCustomerCardDeleteUserParams youzanScrmCustomerCardDeleteUserParams = new YouzanScrmCustomerCardDeleteUserParams();
- youzanScrmCustomerCardDeleteUserParams.setAccountType(2);
- youzanScrmCustomerCardDeleteUserParams.setAccountId(15651468036);
- youzanScrmCustomerCardDeleteParams.setYouzanScrmCustomerCardDeleteUserParams(youzanScrmCustomerCardDeleteUserParams);
- youzanScrmCustomerCardDelete.setAPIParams(youzanScrmCustomerCardDeleteParams);
- YouzanScrmCustomerCardDeleteResult result = yzClient.invoke(youzanScrmCustomerCardDelete, token, YouzanScrmCustomerCardDeleteResult.class);
复制代码
本帖最后由 Alan 于 2023-9-25 17:32 编辑
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|