v1.1
1、提货点 2、客服(腾讯云智服) 3、接口权限控制 4、复制第三方商品可配置 4、优化附件上传配置 5、手机端核销订单 6、手机端订单统计、订单管理 7、短信优化 8、订阅消息全自动化
This commit is contained in:
@@ -162,7 +162,7 @@ export function switchH5Login(){
|
||||
// #endif
|
||||
|
||||
/*
|
||||
* h5切换公众号登陆
|
||||
* h5切换公众号登录
|
||||
* */
|
||||
// #ifdef H5
|
||||
export function switchH5Login() {
|
||||
@@ -189,9 +189,9 @@ export function logout(){
|
||||
/**
|
||||
* 获取订阅消息id
|
||||
*/
|
||||
export function getTemlIds()
|
||||
export function getTemlIds(data)
|
||||
{
|
||||
return request.get('wechat/teml_ids', {}, { noAuth:true});
|
||||
return request.post('wechat/program/my/temp/list?limit=3&page=1', data , { noAuth:true});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -168,10 +168,11 @@ export function orderRefundVerify(data) {
|
||||
* 订单确认获取订单详细信息
|
||||
* @param string cartId
|
||||
*/
|
||||
export function orderConfirm(cartId, isNew) {
|
||||
export function orderConfirm(cartId, isNew, addAgain) {
|
||||
return request.post('order/confirm', {
|
||||
cartIds: cartId,
|
||||
isNew: isNew
|
||||
isNew: isNew,
|
||||
addAgain: addAgain
|
||||
}, {}, 1);
|
||||
}
|
||||
|
||||
@@ -203,3 +204,11 @@ export function orderCreate(key, data) {
|
||||
export function postOrderComputed(key, data) {
|
||||
return request.post("order/computed/" + key, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 将字符串 转base64
|
||||
* @param object data
|
||||
*/
|
||||
export function qrcodeApi(data) {
|
||||
return request.post('qrcode/str2base64', data, {}, 1);
|
||||
}
|
||||
@@ -24,7 +24,7 @@ export function getWechatConfig() {
|
||||
export function wechatAuth(code, spread, login_type) {
|
||||
return request.get(
|
||||
"wechat/authorize/login",
|
||||
{ code, spread, login_type },
|
||||
{ code, spread_spid:spread, login_type },
|
||||
{ noAuth: true }
|
||||
);
|
||||
}
|
||||
@@ -41,7 +41,7 @@ export function getLogo()
|
||||
|
||||
/**
|
||||
* 小程序用户登录
|
||||
* @param data object 小程序用户登陆信息
|
||||
* @param data object 小程序用户登录信息
|
||||
*/
|
||||
export function login(code,data) {
|
||||
return request.post("wechat/authorize/program/login?code="+code, data, { noAuth : true });
|
||||
|
||||
@@ -325,7 +325,7 @@ export function getRechargeApi() {
|
||||
}
|
||||
|
||||
/**
|
||||
* 登陆记录
|
||||
* 登录记录
|
||||
*/
|
||||
export function setVisit(data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user