TestDemo.java 812 Bytes
package com.huaheng.test;

import com.alibaba.fastjson.JSONObject;
import com.huaheng.api.jindie.InvokeHelper;
import com.huaheng.api.jindie.domain.login.Login;
import com.huaheng.api.jindie.domain.purchase.PurchasePushData;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.ArrayList;
import java.util.List;
@SpringBootTest
public class TestDemo {

    @Test
    public void login() throws Exception {
        Login login=new Login();
        login.setAcctID("630861b9b68cfe");
        login.setUsername("13560088336");
        login.setPassword("123456789");
        login.setLcid("2052");
        if(InvokeHelper.Login(login)){
            InvokeHelper.Push("bill111111");
        }
    }



}