diff --git a/js/cancellation.js b/js/cancellation.js
index 99215b4..9c2b381 100644
--- a/js/cancellation.js
+++ b/js/cancellation.js
@@ -46,30 +46,29 @@ mui.plusReady(function(){
var that = $(this);
that.attr("disabled", true);
- alert('功能开发中');
- // mui.ajax(hyhUrl('app/users/backpayCode'), {
- //
- // data: {},
- // dataType: 'json', //服务器返回json格式数据
- // type: 'post', //HTTP请求类型
- // timeout: 10000, //超时时间设置为10秒
- // success: function(data) {
- // var data = toJson(data);
- // //服务器返回响应,根据响应结果,分析是否登录成功;
- // if(data.status == 1) {
- // time();
- // } else {
- // alert(data.msg)
- // }
- // that.removeAttr('disabled');
- // },
- //
- // error: function(xhr, type, errorThrown) {
- // //异常处理;
- // // alert(type)
- // // alert(type);
- // }
- // });
+ mui.ajax(hyhUrl('app/users/backpayCode'), {
+
+ data: {},
+ dataType: 'json', //服务器返回json格式数据
+ type: 'post', //HTTP请求类型
+ timeout: 10000, //超时时间设置为10秒
+ success: function(data) {
+ var data = toJson(data);
+ //服务器返回响应,根据响应结果,分析是否登录成功;
+ if(data.status == 1) {
+ time();
+ } else {
+ alert(data.msg)
+ }
+ that.removeAttr('disabled');
+ },
+
+ error: function(xhr, type, errorThrown) {
+ //异常处理;
+ // alert(type)
+ // alert(type);
+ }
+ });
})
mui('.down').on('tap', '#true', function() {
var phoneCode = $('#phoneCode').val();
diff --git a/templete/setting.html b/templete/setting.html
index bdf6b35..50fd5ab 100644
--- a/templete/setting.html
+++ b/templete/setting.html
@@ -31,7 +31,7 @@
class="r2">收款信息管理