This commit is contained in:
aozhiwei 2023-08-07 12:31:26 +08:00
parent bb26a6af2b
commit aa36eea861
2 changed files with 9 additions and 3 deletions

View File

@ -1390,7 +1390,8 @@ CREATE TABLE `t_mall` (
`account_id` varchar(60) NOT NULL DEFAULT '' COMMENT '账号id',
`item_id` int(11) NOT NULL DEFAULT '0' COMMENT '物品id',
`item_num` bigint NOT NULL DEFAULT '0' COMMENT '物品数量',
`price` varchar(60) NOT NULL DEFAULT '' COMMENT '价格',
`currency` varchar(60) NOT NULL COMMENT 'currency',
`price` varchar(255) NOT NULL DEFAULT '' COMMENT 'price',
`status` int(11) NOT NULL DEFAULT '0' COMMENT 'status',
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',

View File

@ -18,7 +18,12 @@ use services\BlockChainService;
class MallController extends BaseAuthedController {
public function productOnline()
public function productList()
{
$page = getReqVal('page', 1);
}
public function sell()
{
$address = $this->_getAddress();
if (!$address) {
@ -130,7 +135,7 @@ class MallController extends BaseAuthedController {
$this->_rspOk();
}
public function productOffline()
public function cancel()
{
$idx = getReqVal('idx', '');