You've already forked qlg.frontend
文案修改
This commit is contained in:
@ -46,7 +46,7 @@ mui.plusReady(function(){
|
||||
var that = $(this);
|
||||
|
||||
that.attr("disabled", true);
|
||||
mui.ajax(hyhUrl('app/users/backpayCode'), {
|
||||
mui.ajax(hyhUrl('app/users/unregister_get_sms_code'), {
|
||||
|
||||
data: {},
|
||||
dataType: 'json', //服务器返回json格式数据
|
||||
@ -74,6 +74,7 @@ mui.plusReady(function(){
|
||||
var phoneCode = $('#phoneCode').val();
|
||||
var op_content = $('#reason').val();
|
||||
var op_user = $('#userName').val();
|
||||
var handholdId = $("#handholdId").val();
|
||||
var that = $(this);
|
||||
if(phoneCode == '') {
|
||||
alert('验证码不能为空!');
|
||||
@ -93,11 +94,13 @@ mui.plusReady(function(){
|
||||
op_user: op_user,
|
||||
op_content: op_content,
|
||||
code: phoneCode,
|
||||
op_pic: handholdId,
|
||||
},
|
||||
dataType: 'json',
|
||||
success(res) {
|
||||
mui.alert(res.msg, '提示')
|
||||
mui.ajax(qlgUrl('app/users/logout'), {
|
||||
if (res.status == 1) {
|
||||
mui.alert(res.msg, '提示')
|
||||
mui.ajax(qlgUrl('app/users/logout'), {
|
||||
headers: {
|
||||
"HYH-Token": token
|
||||
},
|
||||
@ -115,16 +118,14 @@ mui.plusReady(function(){
|
||||
mui.fire(self.parent, 'refresh');
|
||||
mui.back();
|
||||
var data = toJson(data, 1);
|
||||
if(data.status == 1) {
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
error: function(xhr, type, errorThrown) { //异常处理;
|
||||
// mui.alert(type);
|
||||
mui.alert("请手动重新登陆");
|
||||
}
|
||||
});
|
||||
|
||||
} else {
|
||||
mui.alert(res.msg);
|
||||
}
|
||||
},
|
||||
error(err) {
|
||||
mui.alert('请求异常', '提示')
|
||||
|
Reference in New Issue
Block a user