提交 6118a201 编写于 作者: doc_wei's avatar doc_wei

修改查看申科的套餐接口

上级 98e19dcb
......@@ -28,6 +28,10 @@ layui.config({
var usetableTemplate = $("#usetableTemplate").html();
var memberCarHtml = "";
shopUtil.queryShenkeMealList("123", function (data){
});
memberMation = parent.memberMation;
$("#memberName").html(memberMation.contacts);
......
......@@ -157,4 +157,24 @@ var shopUtil = {
}});
},
/**
* 根据门店id获取申科的套餐信息
*
* storeId 门店id
* @param callback 回执函数
*/
queryShenkeMealList: function (storeId, callback){
// 查看获取申科的套餐列表的url
AjaxPostUtil.request({url: shopBasePath + "getMealListByShenke", params: {storeId: storeId}, type: 'json', method: "GET", callback: function(json) {
if(json.returnCode == 0) {
console.log(json)
if(typeof(callback) == "function") {
callback(json);
}
} else {
winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
}
}, async: false});
},
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册