The embodiment of the invention relates to the technical field of data processing, and discloses a coupon generation method, device and server. The method comprises: obtaining the internal coupon generation instruction sent by the internal user through the internal application program interface; generating the internal coupon according to the internal coupon generation instruction; obtaining the access request sent by the terminal equipment of at least one external merchant; obtaining the identity information of the external merchant according to the access request; and obtaining the identity information of the external merchant according to the identity letter of the external merchant Information, matching the corresponding external application program interface; obtaining the external coupon release instruction sent by the external merchant through the corresponding external application program interface; publishing the external coupon on the coupon platform according to the external coupon release instruction. Through the above method, the invention solves the technical problem that the current coupon platform has insufficient compatibility with the internal and external coupons, and improves the compatibility of the coupon platform.
【技术实现步骤摘要】
一种优惠券的生成方法、装置及服务器
本专利技术涉及数据处理
,特别是涉及一种优惠券的生成方法、装置及服务器。
技术介绍
优惠券分为很多种,最常见的是内部券和外部券,内部券故名思意,一般为自己内部创建的券,遵循着自己内部平台的规则,外部券,则是其它平台创建的券,放入到自己的内部平台售卖,通过这两种方式,来提高竞争能力。目前内部券是商户自己在优惠券平台上创建的券,遵循着优惠券平台定义的建券规则,而外部券,则是商户自己在自己的erp系统或者其它的平台上创建的券。建券时,有两种情况:建券的同时调用优惠券平台的接口,使得两边的平台都存在优惠券;通过excel或者其它的方式,将建好的券,直接在优惠券平台上导入到优惠券平台系统中。对于内部券而言,有时候,并不能满足大部分商户的需求,会根据商户需求,进行适当的调整,而对于外部券而言,需要知晓对方券系统的规则,根据对方的规则,来进行调整和接入到优惠券平台中。
技术实现思路
本专利技术实施例旨在提供一种优惠券的生成方法、装置及服务器,其解决了目前优惠券平 ...
【技术保护点】
1.一种优惠券的生成方法,其特征在于,应用于优惠券平台,所述优惠券平台对接至少一个外部商户的终端设备,所述方法包括:/n通过内部应用程序接口获取内部用户发送的内部优惠券生成指令;/n根据所述内部优惠券生成指令,生成内部优惠券;/n获取至少一个外部商户的终端设备发送的接入请求;/n根据所述接入请求,获取所述外部商户的身份信息;/n根据所述外部商户的身份信息,匹配对应的外部应用程序接口;/n通过所述对应的外部应用程序接口获取外部商户发送的外部优惠券发布指令;/n根据所述外部优惠券发布指令,将外部优惠券发布于所述优惠券平台。/n
【技术特征摘要】
1.一种优惠券的生成方法,其特征在于,应用于优惠券平台,所述优惠券平台对接至少一个外部商户的终端设备,所述方法包括:
通过内部应用程序接口获取内部用户发送的内部优惠券生成指令;
根据所述内部优惠券生成指令,生成内部优惠券;
获取至少一个外部商户的终端设备发送的接入请求;
根据所述接入请求,获取所述外部商户的身份信息;
根据所述外部商户的身份信息,匹配对应的外部应用程序接口;
通过所述对应的外部应用程序接口获取外部商户发送的外部优惠券发布指令;
根据所述外部优惠券发布指令,将外部优惠券发布于所述优惠券平台。
2.根据权利要求1所述的方法,其特征在于,所述根据所述内部优惠券生成指令,生成内部优惠券之后,所述方法还包括:
监控所述内部优惠券的实时状态。
3.根据权利要求1所述的方法,其特征在于,所述根据所述外部商户的身份信息,匹配对应的外部应用程序接口之后,所述方法还包括:
接收外部商户发送的外部优惠券生成指令;
根据所述外部优惠券生成指令,生成外部优惠券。
4.根据权利要求1所述的方法,其特征在于,所述外部商户向所述优惠券平台开放商户接口,所述方法还包括:
通过所述商户接口获取所述外部商户的用户信息。
5.根据权利要求4所述的方法,其特征在于,所述方法还包括:
获取内部用户发送的定时任务;
根据所述定时任务,调用所述商户接口,定时获取所述外部商户的用户信息。
6.根据权利要求4所述的方法,其特征在于,所述方法还包括:
通过所述外部商户提供的商户接口,向所述外部商户发送内部优...
【专利技术属性】
技术研发人员:余昌俊,鲜丹,
申请(专利权)人:威富通科技有限公司,
类型:发明
国别省市:广东;44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。