合并 master 最新代码

pull/2/head
YunaiV 2022-01-23 04:27:57 +08:00
parent 2860108a7d
commit 2a6566d8d6
4 changed files with 7 additions and 6 deletions

View File

@ -183,6 +183,7 @@ yudao:
- ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求 - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求
pay: pay:
pay-notify-url: http://niubi.natapp1.cc/api/pay/order/notify pay-notify-url: http://niubi.natapp1.cc/api/pay/order/notify
pay-return-url: http://niubi.natapp1.cc/api/pay/order/return
refund-notify-url: http://niubi.natapp1.cc/api/pay/refund/notify refund-notify-url: http://niubi.natapp1.cc/api/pay/refund/notify
demo: false # 关闭演示模式 demo: false # 关闭演示模式

View File

@ -31,7 +31,7 @@ import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.ArgumentMatchers.eq; import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;
class BpmUserTaskActivitiBehaviorTest extends BaseMockitoUnitTest { public class BpmUserTaskActivitiBehaviorTest extends BaseMockitoUnitTest {
@InjectMocks @InjectMocks
private BpmUserTaskActivitiBehavior behavior; private BpmUserTaskActivitiBehavior behavior;

View File

@ -41,11 +41,9 @@ export const DICT_TYPE = {
BPM_PROCESS_INSTANCE_STATUS: 'bpm_process_instance_status', BPM_PROCESS_INSTANCE_STATUS: 'bpm_process_instance_status',
BPM_PROCESS_INSTANCE_RESULT: 'bpm_process_instance_result', BPM_PROCESS_INSTANCE_RESULT: 'bpm_process_instance_result',
BPM_TASK_ASSIGN_SCRIPT: 'bpm_task_assign_script', BPM_TASK_ASSIGN_SCRIPT: 'bpm_task_assign_script',
OA_LEAVE_STATUS: 'flow_status', // todo 芋艿:可以删除 BPM_OA_LEAVE_TYPE: 'bpm_oa_leave_type',
BPM_OA_LEAVE_TYPE: 'bpm_oa_leave_type'
OA_LEAVE_STATUS: 'oa_leave_status',
OA_LEAVE_TYPE: 'oa_leave_type',
// pay
// 微信渠道版本 // 微信渠道版本
PAY_CHANNEL_WECHAT_VERSION:'pay_channel_wechat_version', PAY_CHANNEL_WECHAT_VERSION:'pay_channel_wechat_version',
// 支付渠道支付宝算法类型 // 支付渠道支付宝算法类型

View File

@ -8,6 +8,7 @@ import com.alipay.api.AlipayApiException;
import com.alipay.api.DefaultAlipayClient; import com.alipay.api.DefaultAlipayClient;
import com.alipay.api.request.AlipayTradePrecreateRequest; import com.alipay.api.request.AlipayTradePrecreateRequest;
import com.alipay.api.response.AlipayTradePrecreateResponse; import com.alipay.api.response.AlipayTradePrecreateResponse;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.mockito.ArgumentMatcher; import org.mockito.ArgumentMatcher;
import org.mockito.InjectMocks; import org.mockito.InjectMocks;
@ -63,9 +64,10 @@ public class AlipayQrPayClientTest extends BaseMockitoUnitTest {
public void testDoInit(){ public void testDoInit(){
client.doInit(); client.doInit();
assertNotSame(defaultAlipayClient, ReflectUtil.getFieldValue(client, "defaultAlipayClient")); assertNotSame(defaultAlipayClient, ReflectUtil.getFieldValue(client, "defaultAlipayClient"));
} }
@Test @Test
@Disabled // TODO 芋艿:临时禁用
public void create() throws AlipayApiException { public void create() throws AlipayApiException {
// TODO @tina参数可以尽量随机一点使用随机方法。这样的好处是避免对固定参数的依赖导致可能仅仅满足固定参数的结果 // TODO @tina参数可以尽量随机一点使用随机方法。这样的好处是避免对固定参数的依赖导致可能仅仅满足固定参数的结果
// 这里,设置可以直接随机整个对象。 // 这里,设置可以直接随机整个对象。