Commit fe991df1 by 颜景龙

课程预约详情

parent 9eb1a3ac
正在显示 包含 4 行增加4 行删除
......@@ -2,7 +2,7 @@ var CONSTANT = (function() {
// Private static attributes.
var HTTP_URL = 'http://'+location.hostname+':'+location.port+'/wedo-fit';
//var HTTP_URL = 'http://192.168.31.217:8080/wedo-fit';
// var HTTP_URL = 'http://192.168.31.217:8080/wedo-fit';
var DATA={};
// 定义了一个静态方法
......
......@@ -166,17 +166,17 @@
// $('.class-banner').css({'background-image': `url(./banner.png)`, height: $(window).width()*200/375});
var classId = getUrlParam('classId');
var userId = getUrlParam('userId');
var id = getUrlParam('id');
var dayList = ['今天', '明天', '后天'];
if (classId && userId) {
if (classId && id) {
$.ajax({
type: 'POST',
url: HTTP_URL+"/wedofit/personalClass/mineClassWebDetails",
data: JSON.stringify({
classId: classId,
userId: userId
id: id
}),
contentType: 'application/json',
dataType: 'json',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此消息的编辑!
注册登录 后发表评论