3 changed files with 33 additions and 10 deletions
@ -0,0 +1,26 @@ |
|||||
|
package com.dreamchaser.depository_manage; |
||||
|
|
||||
|
import com.alibaba.fastjson.JSONObject; |
||||
|
import com.dreamchaser.depository_manage.config.QyWxConfig; |
||||
|
import com.dreamchaser.depository_manage.service.impl.QyWxOperationService; |
||||
|
import org.junit.Test; |
||||
|
import org.junit.runner.RunWith; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration; |
||||
|
import org.springframework.boot.test.context.SpringBootTest; |
||||
|
import org.springframework.test.context.junit4.SpringRunner; |
||||
|
|
||||
|
@SpringBootTest |
||||
|
@RunWith(SpringRunner.class) |
||||
|
public class TestOther { |
||||
|
|
||||
|
|
||||
|
@Autowired |
||||
|
QyWxOperationService qyWxOperationService; |
||||
|
|
||||
|
@Test |
||||
|
public void Test() { |
||||
|
JSONObject a = qyWxOperationService.getApprovalTemplateInfo("ecf4063aa615d97e7888e8a7232b2261", "C4RbNbd7KYKHGXimVTc5rkNdVWT92JURzoU4KTgbw"); |
||||
|
System.out.println(JSONObject.toJSONString(a)); |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue