-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
348fe9b
commit 5941907
Showing
24 changed files
with
957 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
...boot-autoconfigure/src/main/java/cn/felord/payment/wechat/enumeration/ActivityStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* Copyright 2019-2022 felord.cn | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* Website: | ||
* https://felord.cn | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package cn.felord.payment.wechat.enumeration; | ||
|
||
/** | ||
* The enum Activity status. | ||
* | ||
* @author dax | ||
* @since 1.0.19.RELEASE | ||
*/ | ||
public enum ActivityStatus { | ||
/** | ||
* 状态未知 | ||
*/ | ||
ACT_STATUS_UNKNOWN, | ||
/** | ||
* 已创建 | ||
*/ | ||
CREATE_ACT_STATUS, | ||
/** | ||
* 运行中 | ||
*/ | ||
ONGOING_ACT_STATUS, | ||
/** | ||
* 已终止 | ||
*/ | ||
TERMINATE_ACT_STATUS, | ||
|
||
/** | ||
* 已暂停 | ||
*/ | ||
STOP_ACT_STATUS, | ||
|
||
/** | ||
* 已过期 | ||
*/ | ||
OVER_TIME_ACT_STATUS, | ||
|
||
/** | ||
* 创建活动失败 | ||
*/ | ||
CREATE_ACT_FAILED | ||
} |
31 changes: 31 additions & 0 deletions
31
...ring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/enumeration/AwardType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Copyright 2019-2022 felord.cn | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* Website: | ||
* https://felord.cn | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package cn.felord.payment.wechat.enumeration; | ||
|
||
/** | ||
* The enum Award type. | ||
* | ||
* @author dax | ||
* @since 1.0.19.RELEASE | ||
*/ | ||
public enum AwardType { | ||
/** | ||
* 商家券 | ||
*/ | ||
BUSIFAVOR | ||
} |
35 changes: 35 additions & 0 deletions
35
...oot-autoconfigure/src/main/java/cn/felord/payment/wechat/enumeration/DeliveryPurpose.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright 2019-2022 felord.cn | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* Website: | ||
* https://felord.cn | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package cn.felord.payment.wechat.enumeration; | ||
|
||
/** | ||
* The enum Delivery purpose. | ||
* | ||
* @author felord.cn | ||
* @since 1.0.19.RELEASE | ||
*/ | ||
public enum DeliveryPurpose { | ||
/** | ||
* 拉用户回店消费 | ||
*/ | ||
OFF_LINE_PAY, | ||
/** | ||
* 引导用户前往小程序消费 | ||
*/ | ||
JUMP_MINI_APP | ||
} |
33 changes: 33 additions & 0 deletions
33
...utoconfigure/src/main/java/cn/felord/payment/wechat/enumeration/DeliveryUserCategory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright 2019-2022 felord.cn | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* Website: | ||
* https://felord.cn | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package cn.felord.payment.wechat.enumeration; | ||
|
||
/** | ||
* @author dax | ||
* @since 1.0.19.RELEASE | ||
*/ | ||
public enum DeliveryUserCategory { | ||
/** | ||
* 所有用户 | ||
*/ | ||
DELIVERY_ALL_PERSON, | ||
/** | ||
* 会员用户 | ||
*/ | ||
DELIVERY_MEMBER_PERSON | ||
} |
35 changes: 35 additions & 0 deletions
35
...ng-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/enumeration/SendContent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright 2019-2022 felord.cn | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* Website: | ||
* https://felord.cn | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package cn.felord.payment.wechat.enumeration; | ||
|
||
/** | ||
* The enum Send content. | ||
* | ||
* @author dax | ||
* @since 1.0.19.RELEASE | ||
*/ | ||
public enum SendContent { | ||
/** | ||
* 单张券 | ||
*/ | ||
SINGLE_COUPON, | ||
/** | ||
* 礼包 | ||
*/ | ||
GIFT_PACKAGE | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
import lombok.Getter; | ||
|
||
/** | ||
* @author xiafang | ||
* @author dax | ||
* @since 2023/2/1 8:59 | ||
*/ | ||
@Getter | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.