1、提货点
2、客服(腾讯云智服)
3、接口权限控制
4、复制第三方商品可配置
4、优化附件上传配置
5、手机端核销订单
6、手机端订单统计、订单管理
7、短信优化
8、订阅消息全自动化
This commit is contained in:
张乐
2020-09-15 16:13:25 +08:00
parent 184852afe4
commit 93a781c5ae
245 changed files with 26031 additions and 994 deletions

View File

@@ -153,13 +153,14 @@ class AuthWechat {
}
/**
* 授权登获取token
* 授权登获取token
* @param {Object} code
*/
auth(code) {
return new Promise((resolve, reject) => {
let loginType = Cache.get(LOGINTYPE);
wechatAuth(code, parseInt(Cache.get("spread")), loginType)
alert(Cache.get("spread"))
wechatAuth(code, Cache.get("spread"), loginType)
.then(({
data
}) => {
@@ -173,6 +174,7 @@ class AuthWechat {
});
Cache.set(WX_AUTH, code);
Cache.clear(STATE_KEY);
// Cache.clear('spread');
loginType && Cache.clear(LOGINTYPE);
resolve();
})
@@ -204,7 +206,7 @@ class AuthWechat {
}
/**
* 跳转自动登
* 跳转自动登
*/
toAuth() {
let that = this;
@@ -223,10 +225,6 @@ class AuthWechat {
return new Promise((resolve, reject) => {
let configDefault = {
fail(res) {
console.log('前解放后的金凤凰3');
console.log(res);
console.log(that.instance);
console.log('前解放后的金凤凰2');
if (that.instance) return reject({
is_ready: true,
wx: that.instance
@@ -236,9 +234,6 @@ class AuthWechat {
is_ready: true,
wx: wx
});
console.log('么么么么1');
console.log(wx);
console.log('么么么么2');
})
},
success(res) {