...
|
...
|
@@ -112,6 +112,7 @@ class GoodsController extends RestBaseController |
|
|
{
|
|
|
$param=$this->request->param();
|
|
|
$param['user_id']=$this->getUserId();
|
|
|
str_replace(',',"",$param['province']);
|
|
|
$param['create_time']=time();
|
|
|
if ($param['status']==1){
|
|
|
Db::name('address')->where('user_id',$param['user_id'])->update(['status'=>0]);
|
...
|
...
|
|