美团/饿了么外卖CPS联盟返利公众号小程序裂变核心源码
源代码地址
步骤
-
下载以上源代码到本地
http://www.mybei.cn -
修改为你自己的微信小程序,打开 /dist/pages/ele/index.js
-
微信小程序->开发管理->开发设置 添加 request的域名: 地址:
https://mp.weixin.qq.com/wxamp/devprofile/get_profile?token=271531762&lang=zh_CN
-
小程序管理后台配置你的链接
后台地址: http://q.mybei.cn -
进去之后选择小程序管理->无裂变小程序管理->添加小程序->填入你自己的链接
-
微信开发者工具,导入项目,提交审核
代码
"use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
const impl = utils.implSymbol;
class XMLSerializer {
constructor() {
return iface.setup(Object.create(new.target.prototype));
}
serializeToString(root) {
if (!this || !module.exports.is(this)) {
throw new TypeError("Illegal invocation");
}
if (arguments.length < 1) {
throw new TypeError(
"Failed to execute 'serializeToString' on 'XMLSerializer': 1 argument required, but only " +
arguments.length +
" present."
);
}
const args = [];
{
let curArg = arguments[0];
curArg = utils.tryImplForWrapper(curArg);
args.push(curArg);
}
return this[impl].serializeToString(...args);
}
}
Object.defineProperties(XMLSerializer.prototype, {
serializeToString: { enumerable: true },
[Symbol.toStringTag]: { value: "XMLSerializer", configurable: true }
});
const iface = {
// When an interface-module that implements this interface as a mixin is loaded, it will append its own `.is()`
// method into this array. It allows objects that directly implements *those* interfaces to be recognized as
// implementing this mixin interface.
_mixedIntoPredicates: [],
is(obj) {
if (obj) {
if (utils.hasOwn(obj, impl) && obj[impl] instanceof Impl.implementation) {
return true;
}
for (const isMixedInto of module.exports._mixedIntoPredicates) {
if (isMixedInto(obj)) {
return true;
}
}
}
return false;
},
isImpl(obj) {
if (obj) {
if (obj instanceof Impl.implementation) {
return true;
}
const wrapper = utils.wrapperForImpl(obj);
for (const isMixedInto of module.exports._mixedIntoPredicates) {
if (isMixedInto(wrapper)) {
return true;
}
}
}
return false;
},
convert(obj, { context = "The provided value" } = {}) {
if (module.exports.is(obj)) {
return utils.implForWrapper(obj);
}
throw new TypeError(`${context} is not of type 'XMLSerializer'.`);
},
create(constructorArgs, privateData) {
let obj = Object.create(XMLSerializer.prototype);
obj = this.setup(obj, constructorArgs, privateData);
return obj;
},
createImpl(constructorArgs, privateData) {
let obj = Object.create(XMLSerializer.prototype);
obj = this.setup(obj, constructorArgs, privateData);
return utils.implForWrapper(obj);
},
_internalSetup(obj) {},
setup(obj, constructorArgs, privateData) {
if (!privateData) privateData = {};
privateData.wrapper = obj;
this._internalSetup(obj);
Object.defineProperty(obj, impl, {
value: new Impl.implementation(constructorArgs, privateData),
configurable: true
});
obj[impl][utils.wrapperSymbol] = obj;
if (Impl.init) {
Impl.init(obj[impl], privateData);
}
return obj;
},
interface: XMLSerializer,
expose: {
Window: { XMLSerializer }
}
}; // iface
module.exports = iface;
const Impl = require("./XMLSerializer-impl.js");
其实早在2015年我就在转转帮我姐卖过打印机,和照片机,还有在2017年卖过二手的台式机,也是发布不到2天就卖完了。
不过那时不叫转转,叫58二手交易,只是后来把这个业务独立出来了,单独做了个APP和小程序。
关于二手3C市场的交易平台,目前转转已经成为了头部,作为微信生态企业,转转目前一直在微信钱包有入口
据见实公众号透露的一组数据,2月18日,转转App跃居App Store购物类免费App榜单第4位。
在人均使用时长方面,曾与手机淘宝、拼多多、京东等移动购物类APP共同位列Top10榜单,在小家电人群中的月人均使用时长位列全网第6,达126.2分钟。
此外,数据显示,转转微信小程序作为平台重要的流量来源和补充,其活跃渗透率TGI达135.9,曾与京东一起并列榜单第6,也是榜单中唯一的一家二手电商。
目前转转已经是非常完善的二手电商交易平台,尤其跟找靓机合并后,已经在二手手机市场撕开了一道口子。
现在无论从流量,还是从产品功能,比如有鉴别估价,第三方质检,还有微信支付分体系搭建等,都足以帮助每年1000万的平台售卖者快速出货,同时客户也可以安心的在平台进行交易。
转转短短几年时间已经成为了二手3C交易市场的头部,而且还有腾讯战略投资的加持,对于想做这块创业的同学或许是个不错的机会。
转转平台赚钱吗?
转转平台怎么样?转转平台赚钱吗?我测试过,卖二手3C产品确实很好卖,卖其他的产品就比较难了,比如我上传的一个价值1000元的新秀丽包包,60元出售,挂了快2个月了,几百人浏览,却无人问津。
而3C类的呢,基本是在24小时内一定有人咨询的,连吹风机,电磁炉,洗衣机,都在很短的时间内卖光,其中洗衣机是卖到了同城,而且还是附近的人,客户直接上门取货。
转转有这样的同城流量推送功能,所以赶紧把你家的二手产品挂在转转上卖吧,变废为钱。
这里面最要解决的就是如何寻找更多的二手3C类的产品,如果可以解决这个货源问题,那么在转转上做这个生意也是很不错的。
我想到的就是可以低价收购一些经营不下去的公司里的一些3C类产品,比如电脑,打印机,数码相机,手机等等。
公司里这些产品是标配,他们想快速出手,就可以从他们那里收购了,然后挂到转转上倒卖,也是可以赚取到一波钱的。