package com.ks.lucky; import com.ks.app.entity.AppInfo; import com.ks.lucky.service.impl.AppManager; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; import javax.annotation.Resource; @SpringBootTest public class AppTest { @Resource private AppManager appManager; @Test public void getApp() { Long appId = appManager.getAppId("1000001"); AppInfo app = appManager.getAppDetail(appId); System.out.println(app); } }