Commit 56e68b1b authored by ZhuChunYang's avatar ZhuChunYang

update

parent 328f11e3
......@@ -173,12 +173,14 @@ class CoinController extends BaseController
$condition[] = ['or',['address' => $name],['or', ['like', 'name', $name], ['like', 'nickname', $name]]];
}
if ($platform_ids) {
$platform_id_arr = explode(',', $platform_ids);
/* $platform_id_arr = explode(',', $platform_ids);
$condition_arr = ['OR'];
foreach ($platform_id_arr as $key => $value) {
array_push($condition_arr, ['=', 'platform_id', $value]);
}
$condition[] = $condition_arr;
$condition[] = $condition_arr;*/
$condition[] = ['>', "find_in_set($platform_ids, platform_id)", 0];
}
$result = ExchangeBusiness::SearchByName($page, $limit, $condition);
if (empty($result)) {
......
......@@ -60,6 +60,8 @@ class LotteryBusiness
$send_transaction_result = $service->sendTransaction($data);
if($send_transaction_result['code'] == 0){ //发送交易成功
return ['code' => 0,'result' => $send_transaction_result['result']];
}else{
$error = $send_transaction_result['msg'];
}
}else{
$error = $sign_result['msg'];
......
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