作者 lianghiu

BUG修改

... ... @@ -398,12 +398,13 @@
}
if (data_qr == 1) {
var data_days = $(".day_bg i").attr("data-day").replace(/(\d{4})(\d{2})(\d{2})/, "$1-$2-$3");
var weeks = $(".day_bg b").html();
$.ajax({
url: "{:url('yuyue_coach_do')}",
type: "post",
data: {
day: data_days,
week: week,
week: weeks,
begin: parseInt(list[0].getElementsByTagName('b')[0].innerHTML.split("-")[0]),
end: parseInt(list[list.length - 1].getElementsByTagName('b')[0].innerHTML.split('-')[1]),
id: {$id}
... ...