admin
2021-05-13 4a8f1bec26519a25f073739534e653a4f7c9e11d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package com.tejia.lijin.app.ui.gold.contract;
 
import org.json.JSONObject;
 
/**
 * 金币兑换Contract,数据传递
 */
public class GoldExchangeContract {
 
    /*
    获取数据,将数据传递到View层
     */
    public interface goldExchageInfo {
        void onGainListDataSuccess(JSONObject jsonObject);
 
        void onGainListDataFailure(String errorStr);
 
        void onGoExchangeVerifySuccess(JSONObject jsonObject);
 
        void onGoExchangeVerifyFailure(String errorStr);
 
        void onGoExchangeSuccess(JSONObject jsonObject,String id);
 
        void onGoExchangeFailure(String errorStr);
    }
 
 
    /*
    网络请求回调
     */
    public interface goldExchangeListCallback {
        void onSuccess(JSONObject jsonObject);
 
        void onFailure(String errorStr);
    }
}