Commit 2eebd9e6 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into 'master'

推荐币添加所属链 See merge request !49
parents ab2f4798 99cd4b01
......@@ -47,6 +47,7 @@
<div style="display: none; padding: 5px 5px;" id="_form">
<form class="layui-form" id="form1" lay-filter="form1">
<input type="hidden" name="id" value="">
<input type="hidden" name="platform_id_hidden" id = 'platform_id_hidden' value="">
<div class="layui-form-item">
<label class="layui-form-label">钱包</label>
<div class="layui-input-inline">
......@@ -255,12 +256,13 @@ table.on('tool(table1)', function(obj) {
sort: data.sort,
recommend: data.recommend,
type: data.type,
chain: data.chain
chain: data.chain,
platform_id_hidden: data.platform_id
});
},
btn1: function() {
var data = $("#form1").serialize();
data += "&platform_id="+$('#platform_id').val();
data += "&platform_id="+$('#platform_id_hidden').val();
$.get('/admin/coin-recommend/add', data, function(rev) {
layer.msg(rev.msg);
if (0 == rev.code) {
......
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