修改默认字体

This commit is contained in:
Menethil
2018-07-29 03:49:31 +08:00
parent 264c50e195
commit 0881acf434
2 changed files with 34 additions and 3 deletions

View File

@@ -0,0 +1,27 @@
package org.linlinjava.litemall.admin;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.linlinjava.litemall.core.qcode.QCodeService;
import org.linlinjava.litemall.db.domain.LitemallGoods;
import org.linlinjava.litemall.db.service.LitemallGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
@WebAppConfiguration
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest
public class CreateShareImageTest {
@Autowired
QCodeService qCodeService;
@Autowired
LitemallGoodsService litemallGoodsService;
@Test
public void test() {
LitemallGoods good = litemallGoodsService.findById(1181010);
qCodeService.createGoodShareImage(good.getId().toString(), good.getPicUrl(), good.getName());
}
}