Commit 5d4c17f5 authored by wuxiaoli's avatar wuxiaoli

no message

parent 96f34245
This diff is collapsed.
......@@ -300,7 +300,7 @@ class Trust extends Model{
if ($res) return ['status'=>0, 'message'=>'该股票禁止交易'];
//判断购买数量书否正确
if (($data['count'] % 100) != 0) return ['status'=>0, 'message'=>'交易数量必须是100的整数倍'];
$bs_res = Db::name('stock_borrow')->where(array('stock_subaccount_id' => $data['subid']))->find();
$bs_res = Db::name('stock_borrow')->where(array('stock_subaccount_id' => $data['sub_id']))->find();
if (empty($bs_res)) {
return ['status'=>0, 'message'=>'没有对应的配资'];
}
......
<?php
namespace app\apicom\validate;
namespace app\market\validate;
use think\Validate;
......
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