This commit is contained in:
aozhiwei 2022-11-03 21:14:13 +08:00
parent 8169f4219f
commit 78dea5b323
2 changed files with 5 additions and 3 deletions

View File

@ -22,6 +22,7 @@ class FragmentController extends BaseAuthedController
foreach (Fragment::getFragmentList() as $val){
array_push($fragmentList,Fragment::oldToDto($val));
}
error_log(json_encode($fragmentList));
$this->_rspData(array(
'data' => $fragmentList,
));

View File

@ -19,7 +19,8 @@ class Fragment extends BaseModel
'owner_address' => myself()->_getOpenId(),
);
$fragmentNft = myself()->_getMarketMysql()->execQuery($sql,$whereKv);
return $fragmentNft;
return $fragmentNft;
}
public static function ToDto($row){