Compare commits
3 Commits
b013e9042c
...
2811d16323
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2811d16323 | ||
![]() |
e098e41885 | ||
![]() |
57c5a8a5e7 |
@ -31,6 +31,8 @@ export class PayFun {
|
|||||||
let obj: payLog = {time: G.time, type: type};
|
let obj: payLog = {time: G.time, type: type};
|
||||||
if (conf.time != -1) obj.eTime = time + conf.time;
|
if (conf.time != -1) obj.eTime = time + conf.time;
|
||||||
|
|
||||||
|
obj.args = payArgs
|
||||||
|
|
||||||
if (payId == 'G123SendGift') {
|
if (payId == 'G123SendGift') {
|
||||||
obj.popup_id = payArgs.popup_id
|
obj.popup_id = payArgs.popup_id
|
||||||
obj.template_id = payArgs.template_id
|
obj.template_id = payArgs.template_id
|
||||||
@ -250,7 +252,7 @@ export class PayFun {
|
|||||||
console.log("Christmasfun.payChristmas Error", e);
|
console.log("Christmasfun.payChristmas Error", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (payArgs && payArgs?.htype) {
|
if (payArgs && payArgs?.htype && payArgs?.selectList) {
|
||||||
let selectPrize = await G.ioredis.get(`pay:${payId}:${player.uid}`);
|
let selectPrize = await G.ioredis.get(`pay:${payId}:${player.uid}`);
|
||||||
if (selectPrize) {
|
if (selectPrize) {
|
||||||
prize.push(...JSON.parse(selectPrize))
|
prize.push(...JSON.parse(selectPrize))
|
||||||
|
@ -20,6 +20,11 @@ export type payLog = {
|
|||||||
* @system 系统赠送
|
* @system 系统赠送
|
||||||
*/
|
*/
|
||||||
type: 'user' | 'system' | 'legu';
|
type: 'user' | 'system' | 'legu';
|
||||||
|
/**
|
||||||
|
* 其他信息
|
||||||
|
*/
|
||||||
|
args?: any;
|
||||||
|
|
||||||
|
|
||||||
/** G123 */
|
/** G123 */
|
||||||
popup_id?: string
|
popup_id?: string
|
||||||
|
@ -18482,6 +18482,14 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 3,
|
"id": 3,
|
||||||
|
"name": "args",
|
||||||
|
"type": {
|
||||||
|
"type": "Any"
|
||||||
|
},
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
"name": "popup_id",
|
"name": "popup_id",
|
||||||
"type": {
|
"type": {
|
||||||
"type": "String"
|
"type": "String"
|
||||||
@ -18489,7 +18497,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 4,
|
"id": 5,
|
||||||
"name": "buyNumber",
|
"name": "buyNumber",
|
||||||
"type": {
|
"type": {
|
||||||
"type": "Number"
|
"type": "Number"
|
||||||
@ -18497,7 +18505,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
|
|||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 5,
|
"id": 6,
|
||||||
"name": "template_id",
|
"name": "template_id",
|
||||||
"type": {
|
"type": {
|
||||||
"type": "String"
|
"type": "String"
|
||||||
|
Loading…
Reference in New Issue
Block a user