Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ban_status = null;
- ban_status = true;
- $.ajax({
- type: 'POST',
- url: app.baseUrl + "/admin/users/api-ban-user",
- data: { "userId": user_id, "banStatus": ban_status },
- datatype: "json",
- success: function (response) {
- if (response.status === true) {
- addAlert(response.msg, 'success');
- userList();
- } else {
- addAlert(response.msg, 'error');
- }
- }
- });
- $banStatus = $post['banStatus'];
- gettype($post['banStatus'])
Add Comment
Please, Sign In to add comment