发券机
- Java
- Kotlin
- Objective-C
- Swift
MarvelManager.getInstance().getCoupon(countryCode, language, previewPwd, update, effetive, new AWHttpOriginalCallback() {
@Override
public void response(int code, String data) {
}
});
MarvelManager.getInstance().getCoupon(countryCode, language, abcodes,phrase, update, effectiveFilter, object : AWHttpOriginalCallback{
override fun response(code: Int, data: String?) {
}
})
#import <AWMarvel/AWMarvel.h>
......
[[AWMarvelManager sharedInstance] getCouponWithLanguage:language withCountryCode:countryCode withPhrase:phrase withUpdate:update withEffectiveFilter:effectiveFilter withCompletion:^(NSInteger result, NSString * _Nonnull errorMsg, NSDictionary * _Nullable data) {
}];
#import <AWMarvel/AWMarvel.h>
......
AWMarvelManager.sharedInstance().getCouponWithLanguage(language, withCountryCode: countryCode, withPhrase: phrase, withUpdate: update, withEffectiveFilter: effectiveFilter) { result, errorMsg, data in
}
参数
- language:语言
- countryCode:国家
- phrase: 预发布密码(可空)
- update: 当前MD5值(可空)
- effectiveFilter: 传1新时区逻辑,不传为旧逻辑 (可空)
返回数据