mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-07 07:28:03 +08:00
update
This commit is contained in:
@@ -87,6 +87,11 @@ public class CommonController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
String filePath = JsowellConfig.getUploadPath();
|
||||||
|
System.out.println(filePath);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通用上传请求(多个)
|
* 通用上传请求(多个)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import com.huifu.adapay.core.exception.BaseAdaPayException;
|
|||||||
import com.huifu.adapay.model.Refund;
|
import com.huifu.adapay.model.Refund;
|
||||||
import com.jsowell.JsowellApplication;
|
import com.jsowell.JsowellApplication;
|
||||||
import com.jsowell.adapay.service.AdapayMemberService;
|
import com.jsowell.adapay.service.AdapayMemberService;
|
||||||
|
import com.jsowell.common.config.JsowellConfig;
|
||||||
import com.jsowell.common.constant.CacheConstants;
|
import com.jsowell.common.constant.CacheConstants;
|
||||||
import com.jsowell.common.constant.Constants;
|
import com.jsowell.common.constant.Constants;
|
||||||
import com.jsowell.common.core.domain.entity.SysDictData;
|
import com.jsowell.common.core.domain.entity.SysDictData;
|
||||||
@@ -172,12 +173,15 @@ public class SpringBootTestController {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testQueryCorpMember() {
|
public void testQueryCorpMember() {
|
||||||
String s = "ACM88202036";
|
String filePath = JsowellConfig.getUploadPath();
|
||||||
try {
|
System.out.println(filePath);
|
||||||
adapayMemberService.queryCorpAdapayMemberInfo(s);
|
|
||||||
} catch (BaseAdaPayException e) {
|
// String s = "ACM88202036";
|
||||||
throw new RuntimeException(e);
|
// try {
|
||||||
}
|
// adapayMemberService.queryCorpAdapayMemberInfo(s);
|
||||||
|
// } catch (BaseAdaPayException e) {
|
||||||
|
// throw new RuntimeException(e);
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
@@ -127,6 +127,7 @@ public class JsowellConfig {
|
|||||||
* 获取上传路径
|
* 获取上传路径
|
||||||
*/
|
*/
|
||||||
public static String getUploadPath() {
|
public static String getUploadPath() {
|
||||||
return getProfile() + "/upload";
|
// return getProfile() + "/upload";
|
||||||
|
return getProfile();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user