Commit d26e197c authored by rlgy's avatar rlgy

other

parent 9518c599
...@@ -119,4 +119,13 @@ class CoinController extends BaseController ...@@ -119,4 +119,13 @@ class CoinController extends BaseController
return ['code' => 0, 'data' => $miner_fee]; return ['code' => 0, 'data' => $miner_fee];
} }
/**
* app首页接口
*/
public function actionSearchByNames()
{
$names = Yii::$app->request->post('names');
}
} }
\ No newline at end of file
...@@ -102,7 +102,9 @@ ...@@ -102,7 +102,9 @@
table.on('tool(table1)', function (obj) { table.on('tool(table1)', function (obj) {
var data = obj.data; var data = obj.data;
if (obj.event === 'getExchange') { if (obj.event === 'getExchange') {
var load = layer.load(1);
$.get('/admin/coin/get-exchange-list-by-id?id=' + obj.data.id, {}, function (str) { $.get('/admin/coin/get-exchange-list-by-id?id=' + obj.data.id, {}, function (str) {
layer.close(load);
layer.open({ layer.open({
type: 1, type: 1,
title: '上架交易所列表', title: '上架交易所列表',
......
...@@ -41,5 +41,6 @@ return [ ...@@ -41,5 +41,6 @@ return [
'curl_cache_time' => [ 'curl_cache_time' => [
'exchange' => 60 * 5, 'exchange' => 60 * 5,
'exchange_count' => 60 * 5, 'exchange_count' => 60 * 5,
'quotation' => 60,
] ]
]; ];
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