Commit 346317e9 authored by 赵然's avatar 赵然

zr

parent 1727af30
package main.com.atguigu.springmvc.entities;
public class AppDO {
}
package main.com.atguigu.springmvc.entities;
public class UserDO {
}
...@@ -361,6 +361,7 @@ ...@@ -361,6 +361,7 @@
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -72,8 +72,10 @@ $(document).ready(function(){ ...@@ -72,8 +72,10 @@ $(document).ready(function(){
var userId = $("#user_id2_v").val(); var userId = $("#user_id2_v").val();
var cardId = $("#card_id_v").val(); var cardId = $("#card_id_v").val();
var count = $("#count_id_v").val(); var count = $("#count_id_v").val();
var type = $("#type_v").val();
var ac = $("#ac_v2").val();
$.post("doSet", {"userId":userId,"cardId":cardId,"count":count},function(data, status){ $.post("doSet", {"userId":escape(encodeURIComponent(userId)),"cardId":cardId,"count":count,"type":type,"ac":escape(encodeURIComponent(ac))},function(data, status){
$("#result").val(data.message); $("#result").val(data.message);
}); });
}); });
...@@ -85,7 +87,9 @@ $(document).ready(function(){ ...@@ -85,7 +87,9 @@ $(document).ready(function(){
var userId = $("#user_id_v").val(); var userId = $("#user_id_v").val();
var ruleId = $("#rule_id_v").val(); var ruleId = $("#rule_id_v").val();
var termId = $("#term_id_v").val(); var termId = $("#term_id_v").val();
$.post("doClear", {"userId":userId,"ruleId":ruleId,"termId":termId},function(data, status){ var ac = $("#ac_v").val();
$.post("doClear", {"userId":escape(encodeURIComponent(userId)),"ruleId":ruleId,"termId":termId,"ac":escape(encodeURIComponent(ac))},function(data, status){
$("#result_clear").val(data.message); $("#result_clear").val(data.message);
}); });
}); });
...@@ -247,17 +251,24 @@ $(document).ready(function(){ ...@@ -247,17 +251,24 @@ $(document).ready(function(){
<div class="mws-form-row" id="user_id2"> <div class="mws-form-row" id="user_id2">
<label>用户id</label> <label>用户id</label>
<div class="mws-form-item small"> <div class="mws-form-item small">
<input type="number" class="mws-textinput" name="user_id" placeholder="user_id,开发者用户id,非consumer_id" id="user_id2_v"/> <input type="text" class="mws-textinput" name="user_id" placeholder="user_id,开发者用户id,非consumer_id" id="user_id2_v"/>
</div> </div>
</div> </div>
<!--<div class="mws-form-row">--> <div class="mws-form-row" id="ac_id2">
<!--<label>操作选项</label>--> <label>用户ac</label>
<!--<select name="action" id="action_v">--> <div class="mws-form-item small">
<!--<option value="addCard">新增卡片</option>--> <input type="text" class="mws-textinput" name="_ac" placeholder="登录cookie,userid非数字则必填" id="ac_v2"/>
<!--<option value="deleteCard">删除卡片</option>--> </div>
<!--</select>--> </div>
<!--</div>-->
<div class="mws-form-row">
<label>活动类型</label>
<select name="action" id="type_v">
<option value="0">兑吧集卡商品</option>
<option value="1">开发者集卡商品</option>
</select>
</div>
<div class="mws-form-row" id="card_id"> <div class="mws-form-row" id="card_id">
<label>卡片id</label> <label>卡片id</label>
...@@ -300,7 +311,14 @@ $(document).ready(function(){ ...@@ -300,7 +311,14 @@ $(document).ready(function(){
<div class="mws-form-row" id="user_id"> <div class="mws-form-row" id="user_id">
<label>用户id</label> <label>用户id</label>
<div class="mws-form-item small"> <div class="mws-form-item small">
<input type="number" class="mws-textinput" name="user_id" placeholder="user_id,开发者用户id,非consumer_id" id="user_id_v"/> <input type="text" class="mws-textinput" name="user_id" placeholder="user_id,开发者用户id,非consumer_id" id="user_id_v"/>
</div>
</div>
<div class="mws-form-row" id="ac_id">
<label>用户ac</label>
<div class="mws-form-item small">
<input type="text" class="mws-textinput" name="_ac" placeholder="登录cookie,userid非数字则必填" id="ac_v"/>
</div> </div>
</div> </div>
......
...@@ -231,6 +231,7 @@ $(document).ready(function(){ ...@@ -231,6 +231,7 @@ $(document).ready(function(){
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -210,6 +210,7 @@ function check2(obj){ ...@@ -210,6 +210,7 @@ function check2(obj){
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -203,6 +203,7 @@ $(document).ready(function(){ ...@@ -203,6 +203,7 @@ $(document).ready(function(){
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="#">钱包账户设置</a></li> <li><a href="#">钱包账户设置</a></li>
......
...@@ -260,6 +260,7 @@ ...@@ -260,6 +260,7 @@
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -290,6 +290,7 @@ ...@@ -290,6 +290,7 @@
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -203,6 +203,7 @@ $(document).ready(function(){ ...@@ -203,6 +203,7 @@ $(document).ready(function(){
<li class="active"> <li class="active">
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="#">生成免登链接</a></li> <li><a href="#">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -290,6 +290,7 @@ ...@@ -290,6 +290,7 @@
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -307,6 +307,7 @@ ...@@ -307,6 +307,7 @@
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -51,11 +51,11 @@ $(document).ready(function() { ...@@ -51,11 +51,11 @@ $(document).ready(function() {
$("#mws-jui-dialog").dialog({ $("#mws-jui-dialog").dialog({
autoOpen: false, autoOpen: false,
title: "jQuery-UI Dialog", title: "批量创建用户",
modal: true, modal: true,
width: "640", width: "640",
buttons: [{ buttons: [{
text: "Close Dialog", text: "关闭弹窗",
click: function() { click: function() {
$( this ).dialog( "close" ); $( this ).dialog( "close" );
}}] }}]
...@@ -69,6 +69,23 @@ $(document).ready(function() { ...@@ -69,6 +69,23 @@ $(document).ready(function() {
event.preventDefault(); event.preventDefault();
}); });
$("#mws-jui-dialog-2").dialog({
autoOpen: false,
title: "批量删除用户",
modal: true,
width: "640",
buttons: [{
text: "关闭弹窗",
click: function() {
$( this ).dialog( "close" );
}}]
});
$("#mws-jui-dialog-mdl-btn-2").bind("click", function(event) {
$("#mws-jui-dialog-2").dialog("option", {modal: true}).dialog("open");
event.preventDefault();
});
$(".mws-slider-vertical").slider({ $(".mws-slider-vertical").slider({
orientation: "vertical", orientation: "vertical",
range: "min", range: "min",
...@@ -143,6 +160,7 @@ $(document).ready(function() { ...@@ -143,6 +160,7 @@ $(document).ready(function() {
} }
}); });
/* Full Calendar */ /* Full Calendar */
var date = new Date(); var date = new Date();
......
...@@ -290,6 +290,7 @@ ...@@ -290,6 +290,7 @@
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -223,6 +223,7 @@ $(document).ready(function(){ ...@@ -223,6 +223,7 @@ $(document).ready(function(){
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -259,6 +259,7 @@ ...@@ -259,6 +259,7 @@
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -257,6 +257,7 @@ ...@@ -257,6 +257,7 @@
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="userInfo.html">用户基础信息</a></li> <li><a href="userInfo.html">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
......
...@@ -81,6 +81,21 @@ $(document).ready(function(){ ...@@ -81,6 +81,21 @@ $(document).ready(function(){
} }
}); });
$("#searchInfo2").click(function(e){
var consumerId = $("#consumer_id2_v").val();
if (consumerId==null || consumerId==""){
alert("原始文本不可为空");
return false;
}else {
$("#result2").val("获取执行结果,请等待~");
e.preventDefault();
$.post("searchInfo2", {"consumerId": consumerId}, function (data, status) {
$("#result2").val(data.message);
});
}
});
}); });
</script> </script>
...@@ -174,6 +189,7 @@ $(document).ready(function(){ ...@@ -174,6 +189,7 @@ $(document).ready(function(){
<li> <li>
<a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a> <a href="#" class="mws-i-24 i-iphone-4">积分商城助手</a>
<ul> <ul>
<li><a href="usermng.html">模拟用户管理</a></li>
<li><a href="creatUrl.html">生成免登链接</a></li> <li><a href="creatUrl.html">生成免登链接</a></li>
<li><a href="#">用户基础信息</a></li> <li><a href="#">用户基础信息</a></li>
<li><a href="account.html">钱包账户设置</a></li> <li><a href="account.html">钱包账户设置</a></li>
...@@ -212,7 +228,7 @@ $(document).ready(function(){ ...@@ -212,7 +228,7 @@ $(document).ready(function(){
<div class="mws-panel grid_4"> <div class="mws-panel grid_4">
<div class="mws-panel-header"> <div class="mws-panel-header">
<span class="mws-i-24 i-upload">用户基本信息查询</span> <span class="mws-i-24 i-upload">partnerId查用户基本信息</span>
</div> </div>
<div class="mws-panel-body"> <div class="mws-panel-body">
<form class="mws-form"> <form class="mws-form">
...@@ -239,6 +255,37 @@ $(document).ready(function(){ ...@@ -239,6 +255,37 @@ $(document).ready(function(){
</div> </div>
</div> </div>
<div class="clear"></div>
<div class="mws-panel grid_4">
<div class="mws-panel-header">
<span class="mws-i-24 i-upload">consumerId查用户基本信息</span>
</div>
<div class="mws-panel-body">
<form class="mws-form">
<div class="mws-form-inline">
<div class="mws-form-row" id="consumer_id2">
<label>consumer_id</label>
<div class="mws-form-item small">
<input type="number" class="mws-textinput" name="user_id" placeholder="consumerId" id="consumer_id2_v"/>
</div>
</div>
<div class="mws-form-row">
<label>查询结果</label>
<div class="mws-form-item large">
<textarea class="warning" rows="100%" cols="100%" readonly="readonly" id="result2" style="background-color:#ccc"></textarea>
</div>
</div>
<div class="mws-button-row">
<input type="submit" value="立即查询" class="mws-button blue" id="searchInfo2"/>
</div>
</div>
</form>
</div>
</div>
<div id="mws-footer"> <div id="mws-footer">
Copyright &copy; 2014.Company name All rights reserved.More Templates <a href="http://www.duiba.com.cn/" target="_blank" title="模板之家">兑吧网络科技</a> Copyright &copy; 2014.Company name All rights reserved.More Templates <a href="http://www.duiba.com.cn/" target="_blank" title="模板之家">兑吧网络科技</a>
</div> </div>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment