paylog增加args记录

This commit is contained in:
dy 2023-12-28 10:05:52 +08:00
parent 57c5a8a5e7
commit e098e41885
3 changed files with 17 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -18199,6 +18199,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"
@ -18206,7 +18214,7 @@ export const serviceProto: ServiceProto<ServiceType> = {
"optional": true "optional": true
}, },
{ {
"id": 4, "id": 5,
"name": "buyNumber", "name": "buyNumber",
"type": { "type": {
"type": "Number" "type": "Number"
@ -18214,7 +18222,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"