Commit 1727af30 authored by 赵然's avatar 赵然

zr

parent a36a69e4
This diff is collapsed.
...@@ -363,6 +363,7 @@ ...@@ -363,6 +363,7 @@
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
...@@ -184,6 +184,7 @@ $(document).ready(function(){ ...@@ -184,6 +184,7 @@ $(document).ready(function(){
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
...@@ -233,6 +233,7 @@ $(document).ready(function(){ ...@@ -233,6 +233,7 @@ $(document).ready(function(){
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
...@@ -212,6 +212,7 @@ function check2(obj){ ...@@ -212,6 +212,7 @@ function check2(obj){
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
Manifest-Version: 1.0 Manifest-Version: 1.0
Built-By: Administrator Class-Path:
Created-By: IntelliJ IDEA
Build-Jdk: 1.8.0_151
...@@ -92,6 +92,24 @@ $(document).ready(function(){ ...@@ -92,6 +92,24 @@ $(document).ready(function(){
} }
}); });
$("#clearAccount").click(function(e){
var appid = $("#appid_v").val();
var alipay = $("#alipay_v").val();
if (appid==null || appid==""){
alert("appid不可为空");
return false;
}
else {
$("#result2").val("获取执行结果,请等待~");
e.preventDefault();
$.post("clearAccount", {"appid": appid,"alipay": alipay}, function (data, status) {
$("#result2").val(data.message);
});
}
});
}); });
</script> </script>
...@@ -223,7 +241,7 @@ $(document).ready(function(){ ...@@ -223,7 +241,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-cog-5">账户余额设置</span>
</div> </div>
<div class="mws-panel-body"> <div class="mws-panel-body">
<form class="mws-form"> <form class="mws-form">
...@@ -264,6 +282,44 @@ $(document).ready(function(){ ...@@ -264,6 +282,44 @@ $(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-cut">用户提现账号解绑</span>
</div>
<div class="mws-panel-body">
<form class="mws-form">
<div class="mws-form-inline">
<div class="mws-form-row" id="appid">
<label>appId</label>
<div class="mws-form-item small">
<input type="number" class="mws-textinput" name="appid" placeholder="请输入开发者应用id" id="appid_v"/>
</div>
</div>
<div class="mws-form-row" id="alipay">
<label>解绑账户</label>
<div class="mws-form-item small">
<input type="number" class="mws-textinput" name="alipay" placeholder="不填默认解绑账户为peeulk6392@sandbox.com" id="alipay_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 red" id="clearAccount"/>
</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>
......
...@@ -262,6 +262,7 @@ ...@@ -262,6 +262,7 @@
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
...@@ -292,6 +292,7 @@ ...@@ -292,6 +292,7 @@
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
...@@ -205,6 +205,7 @@ $(document).ready(function(){ ...@@ -205,6 +205,7 @@ $(document).ready(function(){
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
...@@ -278,7 +279,7 @@ $(document).ready(function(){ ...@@ -278,7 +279,7 @@ $(document).ready(function(){
<div class="mws-form-row"> <div class="mws-form-row">
<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="partner_user_id,不填默认未登录用户" id="userId"/> <input type="text" class="mws-textinput" name="user_id" placeholder="partner_user_id,不填默认未登录用户" id="userId"/>
</div> </div>
</div> </div>
......
...@@ -292,6 +292,7 @@ ...@@ -292,6 +292,7 @@
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
...@@ -309,6 +309,7 @@ ...@@ -309,6 +309,7 @@
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
...@@ -292,6 +292,7 @@ ...@@ -292,6 +292,7 @@
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
...@@ -225,6 +225,7 @@ $(document).ready(function(){ ...@@ -225,6 +225,7 @@ $(document).ready(function(){
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
...@@ -261,6 +261,7 @@ ...@@ -261,6 +261,7 @@
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li class="active"> <li class="active">
......
...@@ -259,6 +259,7 @@ ...@@ -259,6 +259,7 @@
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
...@@ -176,6 +176,7 @@ $(document).ready(function(){ ...@@ -176,6 +176,7 @@ $(document).ready(function(){
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
...@@ -5,23 +5,29 @@ import main.com.atguigu.springmvc.common.MatcherString; ...@@ -5,23 +5,29 @@ import main.com.atguigu.springmvc.common.MatcherString;
import main.com.atguigu.springmvc.service.AccountService; import main.com.atguigu.springmvc.service.AccountService;
import main.com.atguigu.springmvc.service.Authorization; import main.com.atguigu.springmvc.service.Authorization;
import main.com.atguigu.springmvc.service.NewActivityService; import main.com.atguigu.springmvc.service.NewActivityService;
import main.com.atguigu.springmvc.service.SqlService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import org.testng.annotations.Test;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import java.util.Base64; import java.util.Base64;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@Controller @Controller
public class AccountModule { public class AccountModule {
@Autowired @Autowired
AccountService accountService; AccountService accountService;
@Autowired @Autowired
Authorization authorization; Authorization authorization;
@Autowired
SqlService sqlService;
final Base64.Decoder decoder = Base64.getDecoder(); final Base64.Decoder decoder = Base64.getDecoder();
...@@ -67,4 +73,37 @@ public class AccountModule { ...@@ -67,4 +73,37 @@ public class AccountModule {
return map; return map;
} }
/**
* 功能:解绑用户提现账号
* @return
*/
@RequestMapping(value = "/clearAccount", method= RequestMethod.POST)
@ResponseBody
public Map clearAccount(HttpServletRequest request) throws Exception {
System.out.println("日志:访问统计");
String appid = request.getParameter("appid");
String alipay = request.getParameter("alipay");
if(alipay.equals(null) || alipay.equals("") ){
alipay = "peeulk6392@sandbox.com";
}
System.out.println("appid为:" + appid);
System.out.println("alipay为:" + alipay);
Map<String, String> map = new HashMap<>();
String sql = "delete from credits_dev.anticheat_exchange_limit where app_id = "+appid+" and account = '"+alipay+"' ";
Response response = sqlService.update(sql);
if(response.asString().equals("true")){
String result = "账户解绑成功!";
map.put("message", result);
}else{
String result = "账户解绑失败!";
map.put("message", result);
}
return map;
}
} }
...@@ -5,6 +5,7 @@ import main.com.atguigu.springmvc.common.MysqlUtils; ...@@ -5,6 +5,7 @@ import main.com.atguigu.springmvc.common.MysqlUtils;
import main.com.atguigu.springmvc.service.Authorization; import main.com.atguigu.springmvc.service.Authorization;
import main.com.atguigu.springmvc.service.NewActivityService; import main.com.atguigu.springmvc.service.NewActivityService;
import io.restassured.response.Response; import io.restassured.response.Response;
import main.com.atguigu.springmvc.service.SqlService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
...@@ -26,6 +27,8 @@ public class CollectModule { ...@@ -26,6 +27,8 @@ public class CollectModule {
NewActivityService newActivityService; NewActivityService newActivityService;
@Autowired @Autowired
Authorization authorization; Authorization authorization;
@Autowired
SqlService sqlService;
final Base64.Decoder decoder = Base64.getDecoder(); final Base64.Decoder decoder = Base64.getDecoder();
private MysqlUtils jdbc; private MysqlUtils jdbc;
...@@ -179,9 +182,9 @@ public class CollectModule { ...@@ -179,9 +182,9 @@ public class CollectModule {
System.out.println("用户id:" + userId); System.out.println("用户id:" + userId);
System.out.println("卡片id:" + cardId); System.out.println("卡片id:" + cardId);
jdbc = MysqlUtils.mysqlDuiba("act_com_conf"); Response good = sqlService.findSimpleResult("select * from goods.item where id = "+cardId);
Map good = jdbc.findSimpleResult("select * from goods.item where id = "+cardId); String card_name = String.valueOf(good.jsonPath().getString("name"));
String card_name = String.valueOf(good.get("name"));
//userid转consumerid //userid转consumerid
Map<String,String> login_map = authorization.dafuwengLogin(Integer.parseInt(userId)); Map<String,String> login_map = authorization.dafuwengLogin(Integer.parseInt(userId));
System.out.println("用户login_map为:" + login_map.toString()); System.out.println("用户login_map为:" + login_map.toString());
...@@ -200,16 +203,17 @@ public class CollectModule { ...@@ -200,16 +203,17 @@ public class CollectModule {
map.put("cardId", cardId); map.put("cardId", cardId);
String sql = "SELECT * FROM tb_kvtable_"+tag+" where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_itemId_"+consumerId+"_"+cardId+"';"; String sql = "SELECT * FROM ckvtable.tb_kvtable_"+tag+" where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_itemId_"+consumerId+"_"+cardId+"';";
System.out.println("sql为:" + sql);
jdbc = MysqlUtils.mysqlDuiba("ckvtable"); Response response = sqlService.findSimpleResult(sql);
Map data = jdbc.findSimpleResult(sql); System.out.println("查询结果为:" + response.asString());
if (data.isEmpty()) { if (response.asString().equals("{}")) {
try { try {
String sqlAdd = "INSERT INTO tb_kvtable_"+tag+" ( `consumer_id`, `vspace`, `vkey`, `int_value`, `string_value`, `gmt_create`, `gmt_modified`) VALUES ( '"+consumerId+"', 'duiba-activity-web', 'cl_good_cid_itemId_"+consumerId+"_"+cardId+"', '"+count+"', NULL, '2018-09-04 16:05:19', '2018-09-05 16:14:48')"; String sqlAdd = "INSERT INTO ckvtable.tb_kvtable_"+tag+" ( `consumer_id`, `vspace`, `vkey`, `int_value`, `string_value`, `gmt_create`, `gmt_modified`) VALUES ( '"+consumerId+"', 'duiba-activity-web', 'cl_good_cid_itemId_"+consumerId+"_"+cardId+"', '"+count+"', NULL, '2018-09-04 16:05:19', '2018-09-05 16:14:48')";
jdbc.update(sqlAdd);
sqlService.update(sqlAdd);
System.out.println("如果卡片原本为空,重置成功!");
map.put("success", "true"); map.put("success", "true");
map.put("message", "卡片数设置成功,用户"+userId+"的"+card_name+"(卡)数量为:"+count); map.put("message", "卡片数设置成功,用户"+userId+"的"+card_name+"(卡)数量为:"+count);
} catch (Exception e) { } catch (Exception e) {
...@@ -218,7 +222,9 @@ public class CollectModule { ...@@ -218,7 +222,9 @@ public class CollectModule {
} }
}else { }else {
try { try {
jdbc.update("update tb_kvtable_"+tag+" set int_value = '"+count+"' where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_itemId_"+consumerId+"_"+cardId+"'",null); sqlService.update("update ckvtable.tb_kvtable_"+tag+" set int_value = '"+count+"' where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_itemId_"+consumerId+"_"+cardId+"'");
System.out.println("如果卡片原本有值,重置成功!");
map.put("success", "true"); map.put("success", "true");
map.put("message", "卡片数设置成功,用户"+userId+"的"+card_name+"(卡)数量为:"+count); map.put("message", "卡片数设置成功,用户"+userId+"的"+card_name+"(卡)数量为:"+count);
} catch (Exception e) { } catch (Exception e) {
...@@ -227,9 +233,6 @@ public class CollectModule { ...@@ -227,9 +233,6 @@ public class CollectModule {
} }
} }
//释放数据库
jdbc.releaseConn();
return map; return map;
} }
...@@ -267,18 +270,22 @@ public class CollectModule { ...@@ -267,18 +270,22 @@ public class CollectModule {
Map<String, String> map = new HashMap<>(); Map<String, String> map = new HashMap<>();
String sql = "SELECT * FROM tb_kvtable_"+tag+" where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_Crule_grade_"+consumerId+"_"+ruleId+"_"+termId+"'"; String sql = "SELECT * FROM ckvtable.tb_kvtable_"+tag+" where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_Crule_grade_"+consumerId+"_"+ruleId+"_"+termId+"'";
System.out.println("sql为:" + sql); System.out.println("sql为:" + sql);
jdbc = MysqlUtils.mysqlDuiba("ckvtable"); // jdbc = MysqlUtils.mysqlDuiba("ckvtable");
Map data = jdbc.findSimpleResult(sql); // Map data = jdbc.findSimpleResult(sql);
Response response = sqlService.findSimpleResult(sql);
System.out.println("查询结果为:" + response.asString());
if (data.isEmpty()) { if (response.asString().equals("{}")) {
map.put("success", "false"); map.put("success", "false");
map.put("message", "该用户未开过大奖"); map.put("message", "该用户未开过大奖");
}else { }else {
try { try {
jdbc.update("delete FROM tb_kvtable_"+tag+" where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_Crule_grade_"+consumerId+"_"+ruleId+"_"+termId+"'"); //jdbc.update("delete FROM tb_kvtable_"+tag+" where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_Crule_grade_"+consumerId+"_"+ruleId+"_"+termId+"'");
sqlService.update("delete FROM ckvtable.tb_kvtable_"+tag+" where consumer_id = '"+consumerId+"' and vkey = 'cl_good_cid_Crule_grade_"+consumerId+"_"+ruleId+"_"+termId+"'");
map.put("success", "true"); map.put("success", "true");
map.put("message", "用户"+userId+"的开大奖记录清除成功"); map.put("message", "用户"+userId+"的开大奖记录清除成功");
} catch (Exception e) { } catch (Exception e) {
...@@ -288,8 +295,9 @@ public class CollectModule { ...@@ -288,8 +295,9 @@ public class CollectModule {
} }
//释放数据库 //释放数据库
jdbc.releaseConn(); //jdbc.releaseConn();
return map; return map;
} }
} }
...@@ -30,13 +30,7 @@ public class AccountService { ...@@ -30,13 +30,7 @@ public class AccountService {
map.put("balanceAmount",balanceAmount); map.put("balanceAmount",balanceAmount);
Response response = given().cookies(authorization.dafuwengLogin(uid)).params(map).get(url+"/aaw/automated/updateConsumerAccount"); Response response = given().cookies(authorization.dafuwengLogin(uid)).params(map).get(url+"/aaw/automated/updateConsumerAccount");
try{
Assert.assertEquals(response.jsonPath().getString("success"),"true");
}catch(Exception e){
throw new Exception("/aaw/automated/updateConsumerAccount接口失败,返回信息:"+response.asString());
}catch(Error er){
throw new Exception("/aaw/automated/updateConsumerAccount接口失败,返回信息:"+response.asString());
}
return response; return response;
} }
......
package main.com.atguigu.springmvc.service;
import io.restassured.response.Response;
import org.springframework.stereotype.Service;
import java.util.HashMap;
import java.util.Map;
import static io.restassured.RestAssured.given;
@Service
public class SqlService {
private String url = "http://172.16.80.203:1112";
private String account = "zhaoran";
private String pass = "qwe123";
private String aliyun = "false";
public Response findSimpleResult(String sql) throws Exception{
Map<String, String> map = new HashMap<>();
map.put("sql",sql);
map.put("account",account);
map.put("pass",pass);
map.put("aliyun",aliyun);
Response response = given().params(map).get(url+"/sql/findSimpleResult");
return response;
}
public Response findModeResult(String sql) throws Exception{
Map<String, String> map = new HashMap<>();
map.put("sql",sql);
map.put("account",account);
map.put("pass",pass);
map.put("aliyun",aliyun);
Response response = given().params(map).get(url+"/sql/findModeResult");
return response;
}
public Response update(String sql) throws Exception{
Map<String, String> map = new HashMap<>();
map.put("sql",sql);
map.put("account",account);
map.put("pass",pass);
map.put("aliyun",aliyun);
Response response = given().params(map).get(url+"/sql/update");
return response;
}
// public static void main(String[] args) {
// NewtoolsService service = new NewtoolsService();
// Response response = service.index("17236");
// NewActivityService services = new NewActivityService();
// services.doJoin(response.getDetailedCookies(),"");
// }
}
...@@ -92,6 +92,24 @@ $(document).ready(function(){ ...@@ -92,6 +92,24 @@ $(document).ready(function(){
} }
}); });
$("#clearAccount").click(function(e){
var appid = $("#appid_v").val();
var alipay = $("#alipay_v").val();
if (appid==null || appid==""){
alert("appid不可为空");
return false;
}
else {
$("#result2").val("获取执行结果,请等待~");
e.preventDefault();
$.post("clearAccount", {"appid": appid,"alipay": alipay}, function (data, status) {
$("#result2").val(data.message);
});
}
});
}); });
</script> </script>
...@@ -223,7 +241,7 @@ $(document).ready(function(){ ...@@ -223,7 +241,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-cog-5">账户余额设置</span>
</div> </div>
<div class="mws-panel-body"> <div class="mws-panel-body">
<form class="mws-form"> <form class="mws-form">
...@@ -264,6 +282,44 @@ $(document).ready(function(){ ...@@ -264,6 +282,44 @@ $(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-cut">用户提现账号解绑</span>
</div>
<div class="mws-panel-body">
<form class="mws-form">
<div class="mws-form-inline">
<div class="mws-form-row" id="appid">
<label>appId</label>
<div class="mws-form-item small">
<input type="number" class="mws-textinput" name="appid" placeholder="请输入开发者应用id" id="appid_v"/>
</div>
</div>
<div class="mws-form-row" id="alipay">
<label>解绑账户</label>
<div class="mws-form-item small">
<input type="number" class="mws-textinput" name="alipay" placeholder="不填默认解绑账户为peeulk6392@sandbox.com" id="alipay_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 red" id="clearAccount"/>
</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>
......
...@@ -279,7 +279,7 @@ $(document).ready(function(){ ...@@ -279,7 +279,7 @@ $(document).ready(function(){
<div class="mws-form-row"> <div class="mws-form-row">
<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="partner_user_id,不填默认未登录用户" id="userId"/> <input type="text" class="mws-textinput" name="user_id" placeholder="partner_user_id,不填默认未登录用户" id="userId"/>
</div> </div>
</div> </div>
......
...@@ -176,6 +176,7 @@ $(document).ready(function(){ ...@@ -176,6 +176,7 @@ $(document).ready(function(){
<ul> <ul>
<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>
</ul> </ul>
</li> </li>
<li> <li>
......
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