jQuery.ajax({ url: '#springUrl("/cloud/merchantProcess/onoff.htm")', type: 'POST', data: { configId:configId, definedStepId:definedStepId, stepId: stepId, operate: 'ON' }, success: function (flag, status, res) { if(res.responseText){ that.attr('data-name',res.responseText); that.attr('class', 'switch open1'); that.attr('data-open', 'open'); }else{ alert('操作失败'); } } });
前端数据交互
最新推荐文章于 2023-08-08 14:22:40 发布