Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions solon-plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,11 @@
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.noear</groupId>
<artifactId>solon-test</artifactId>
<version>${solon.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package features.test;

import org.junit.jupiter.api.Test;
import org.noear.solon.test.SolonTest;

/**
* @author noear 2024/9/4 created
*/
@SolonTest
public class LoadTest {
@Test
public void load(){

}
}
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package features.test;

import org.junit.jupiter.api.Test;
import org.noear.solon.test.SolonTest;

/**
* @author noear 2024/9/4 created
*/
@SolonTest
public class LoadTest {
@Test
public void load(){

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# ?? 1 ??
wx.cp.corps.tenantId1.corp-id = @corp-id
wx.cp.corps.tenantId1.corp-secret = @corp-secret
## ??
wx.cp.corps.tenantId1.agent-id = @agent-id
wx.cp.corps.tenantId1.token = @token
wx.cp.corps.tenantId1.aes-key = @aes-key
wx.cp.corps.tenantId1.msg-audit-priKey = @msg-audit-priKey
wx.cp.corps.tenantId1.msg-audit-lib-path = @msg-audit-lib-path

# ?? 2 ??
wx.cp.corps.tenantId2.corp-id = @corp-id
wx.cp.corps.tenantId2.corp-secret = @corp-secret
## ??
wx.cp.corps.tenantId2.agent-id = @agent-id
wx.cp.corps.tenantId2.token = @token
wx.cp.corps.tenantId2.aes-key = @aes-key
wx.cp.corps.tenantId2.msg-audit-priKey = @msg-audit-priKey
wx.cp.corps.tenantId2.msg-audit-lib-path = @msg-audit-lib-path
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package features.test;

import org.junit.jupiter.api.Test;
import org.noear.solon.test.SolonTest;

/**
* @author noear 2024/9/4 created
*/
@SolonTest
public class LoadTest {
@Test
public void load(){

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# ???????(??)
wx.cp.corp-id = @corp-id
wx.cp.corp-secret = @corp-secret
# ??
wx.cp.agent-id = @agent-id
wx.cp.token = @token
wx.cp.aes-key = @aes-key
wx.cp.msg-audit-priKey = @msg-audit-priKey
wx.cp.msg-audit-lib-path = @msg-audit-lib-path
# ConfigStorage ??????
wx.cp.config-storage.type=memory # ????: memory(??), jedis, redisson, redistemplate
# http ?????????
wx.cp.config-storage.http-proxy-host=
wx.cp.config-storage.http-proxy-port=
wx.cp.config-storage.http-proxy-username=
wx.cp.config-storage.http-proxy-password=
# ??????????5 ?????? 0??? 0
wx.cp.config-storage.max-retry-times=5
# ????????????1000 ??????? 0??? 1000
wx.cp.config-storage.retry-sleep-millis=1000
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package features.test;

import org.junit.jupiter.api.Test;
import org.noear.solon.test.SolonTest;

/**
* @author noear 2024/9/4 created
*/
@SolonTest
public class LoadTest {
@Test
public void load(){

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# ?????(??)
wx.miniapp.appid = appId
wx.miniapp.secret = @secret
wx.miniapp.token = @token
wx.miniapp.aesKey = @aesKey
wx.miniapp.msgDataFormat = @msgDataFormat # ?????XML??JSON.
# ????redis(??)
# ??: ??redis.host???????????redis??(JedisPool)
wx.miniapp.config-storage.type = Jedis # ????: Memory(??), Jedis, RedisTemplate
wx.miniapp.config-storage.key-prefix = wa # ??redis????: wa(??)
wx.miniapp.config-storage.redis.host = 127.0.0.1
wx.miniapp.config-storage.redis.port = 6379
# http?????
wx.miniapp.config-storage.http-client-type=HttpClient # http?????: HttpClient(??), OkHttp, JoddHttp
wx.miniapp.config-storage.http-proxy-host=
wx.miniapp.config-storage.http-proxy-port=
wx.miniapp.config-storage.http-proxy-username=
wx.miniapp.config-storage.http-proxy-password=
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package features.test;

import org.junit.jupiter.api.Test;
import org.noear.solon.test.SolonTest;

/**
* @author noear 2024/9/4 created
*/
@SolonTest
public class LoadTest {
@Test
public void load(){

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ?????
## ?? 1 ??(??)
wx.mp.apps.tenantId1.app-id=appId
wx.mp.apps.tenantId1.app-secret=@secret
## ??
wx.mp.apps.tenantId1.token=@token
wx.mp.apps.tenantId1.aes-key=@aesKey
wx.mp.apps.tenantId1.use-stable-access-token=@useStableAccessToken
## ?? 2 ??(??)
wx.mp.apps.tenantId2.app-id=@appId
wx.mp.apps.tenantId2.app-secret =@secret
## ??
wx.mp.apps.tenantId2.token=@token
wx.mp.apps.tenantId2.aes-key=@aesKey
wx.mp.apps.tenantId2.use-stable-access-token=@useStableAccessToken

# ConfigStorage ??????
## ????: memory(??), jedis, redisson, redis_template
wx.mp.config-storage.type=memory
## ??redis????: wx:mp:multi(??)
wx.mp.config-storage.key-prefix=wx:mp:multi
wx.mp.config-storage.redis.host=127.0.0.1
wx.mp.config-storage.redis.port=6379
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package features.test;

import org.junit.jupiter.api.Test;
import org.noear.solon.test.SolonTest;

/**
* @author noear 2024/9/4 created
*/
@SolonTest
public class LoadTest {
@Test
public void load(){

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ?????(??)
wx.mp.app-id=appId
wx.mp.secret=@secret
wx.mp.token=@token
wx.mp.aes-key=@aesKey
wx.mp.use-stable-access-token=@useStableAccessToken
# ????redis(??)
wx.mp.config-storage.type= edis # ????: Memory(??), Jedis, RedisTemplate
wx.mp.config-storage.key-prefix=wx # ??redis????: wx(??)
wx.mp.config-storage.redis.host=127.0.0.1
wx.mp.config-storage.redis.port=6379
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package features.test;

import org.junit.jupiter.api.Test;
import org.noear.solon.test.SolonTest;

/**
* @author noear 2024/9/4 created
*/
@SolonTest
public class LoadTest {
@Test
public void load(){

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ?????(??)
wx.open.appId = appId
wx.open.secret = @secret
wx.open.token = @token
wx.open.aesKey = @aesKey
# ????redis(??)
# ???????(JedisPool, RedissonClient), ????wx.open.config-storage.redis.host, ????????redis????
wx.open.config-storage.type = redis # ????: memory(??), redis(jedis), jedis, redisson, redistemplate
wx.open.config-storage.key-prefix = wx # ??redis????: wx(??)
wx.open.config-storage.redis.host = 127.0.0.1
wx.open.config-storage.redis.port = 6379
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package features.test;

import org.junit.jupiter.api.Test;
import org.noear.solon.test.SolonTest;

/**
* @author noear 2024/9/4 created
*/
@SolonTest
public class LoadTest {
@Test
public void load(){

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
wx:
pay:
appId:
mchId:
mchKey:
keyPath:
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package features.test;

import org.junit.jupiter.api.Test;
import org.noear.solon.test.SolonTest;

/**
* @author noear 2024/9/4 created
*/
@SolonTest
public class LoadTest {
@Test
public void load(){

}
}
Empty file.