six_uniapp_0001

This commit is contained in:
doudou201703
2026-08-08 19:12:40 +08:00
commit 2b2d99c43e
84 changed files with 15748 additions and 0 deletions
@@ -0,0 +1,64 @@
export interface Send发放优惠类回调类型 {
type: string;
timeStamp: number;
target: {
id: string;
dataset: Record<string, any>;
errcode: string;
msg: string;
send_coupon_result: Array<{
code: string;
coupon_code: string;
coupon_name: string;
discount: string;
end_time: string;
logo: string;
mch_simple_name: string;
message: string;
out_request_no: string;
stock_id: string;
use_condition: string;
}>;
};
currentTarget: {
id: string;
dataset: Record<string, any>;
};
mark: Record<string, any>;
detail: {
errcode: string;
msg: string;
send_coupon_result: Array<{
code: string;
coupon_code: string;
coupon_name: string;
discount: string;
end_time: string;
logo: string;
mch_simple_name: string;
message: string;
out_request_no: string;
stock_id: string;
use_condition: string;
}>;
};
touches: undefined;
changedTouches: undefined;
mut: boolean;
_requireActive: undefined;
preventDefault: Function;
stopPropagation: Function;
stopImmediatePropagation: Function;
}
export interface 发券接口返回数据类型 {
send_coupon_params: any; // 传给插件的参数串
sign: string; // 签名
send_coupon_merchant: string; // 商户号
suggest_immediate_use: boolean; // 是否建议立即使用
}
export type 代金券数据类型 = {
stock领券数据: 发券接口返回数据类型,
stock券状态: "待领券" | "已领券" | "发放中"
}