/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @Title: IappWxappConfigManagerTest
 * @Package cn.freemud.manager
 * @Description:
 * @author: ping.wu
 * @date: 2018/9/6 17:01
 * @version V1.0
 * @Copyright: 2018 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */
package cn.freemud.manager;

import cn.freemud.entities.db.OpenPlatformIappWxappConfig;
import com.google.gson.Gson;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
public class IappWxappConfigManagerTest {

    @Autowired
    private IappWxappConfigManager iappWxappConfigManager;
    @Test
    public void selectByPartnerId(){
        Gson gson = new Gson();
        String wxAppid="wxec91c5923af56886";
        OpenPlatformIappWxappConfig iappWxappConfig = iappWxappConfigManager.findIappWxappConfigByWxAppid(wxAppid);
        log.info("iappWxappConfig=="+gson.toJson(iappWxappConfig));
    }


}
