Commit 68c5ae79 authored by wuxiaoli's avatar wuxiaoli

no message

parent 2d29ea27
...@@ -47,7 +47,7 @@ class StockSubAccountSelf extends Model{ ...@@ -47,7 +47,7 @@ class StockSubAccountSelf extends Model{
public function myadd($uid,$market,$code){ public function myadd($uid,$market,$code){
$data=Db::name('stock_subaccount_self') $data=Db::name('stock_subaccount_self')
->where('uid='.$uid) ->where('uid='.$uid)
->where('market='.$market) ->where('market',"=",$market)
->where('gupiao_code='.$code) ->where('gupiao_code='.$code)
->find(); ->find();
return $data; return $data;
...@@ -58,7 +58,7 @@ class StockSubAccountSelf extends Model{ ...@@ -58,7 +58,7 @@ class StockSubAccountSelf extends Model{
public function delmyselectbycode($uid,$market,$code){ public function delmyselectbycode($uid,$market,$code){
$data=Db::name('stock_subaccount_self') $data=Db::name('stock_subaccount_self')
->where('uid='.$uid) ->where('uid='.$uid)
->where('market='.$market) ->where('market',"=",$market)
->where('gupiao_code='.$code) ->where('gupiao_code='.$code)
->delete(); ->delete();
return $data; return $data;
......
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