shoppingmallv2 init...

This commit is contained in:
최준흠git config git config --helpgit config --global user.name 최준흠 2023-08-16 21:00:43 +09:00
parent baefe109eb
commit 3dec0ab564
4 changed files with 14 additions and 24 deletions

View File

@ -73,11 +73,4 @@ class ProductController extends FrontController
$this->_model->where("status", DEFAULTS['STATUS']);
parent::index_setCondition();
}
//Download관련
public function download_process($entity)
{
//권한체크
$this->isRole('download', $entity);
return parent::download_process($entity);
}
}

View File

@ -146,7 +146,7 @@ CREATE TABLE shoppingmall.tw_order (
price int(10) UNSIGNED NOT NULL COMMENT '결제액',
quantity varchar(255) NOT NULL COMMENT '수량',
paymentday int(2) UNSIGNED NULL COMMENT '결제일',
status varchar(10) NOT NULL DEFAULT 'use' COMMENT 'use: 결제하기, unuse: 주문취소, deposit:무통장입금, paid:결제완료 등등',
status varchar(10) NOT NULL DEFAULT 'use' COMMENT 'use: 장바구니, unuse: 사용해지, rental:월이용권, onetime:판매,일회성',
updated_at timestamp NULL DEFAULT NULL,
created_at timestamp NOT NULL DEFAULT current_timestamp(),
deleted_at timestamp NULL DEFAULT NULL,
@ -158,15 +158,13 @@ CREATE TABLE shoppingmall.tw_order (
DROP TABLE IF EXISTS shoppingmall.tw_billing;
CREATE TABLE shoppingmall.tw_billing (
uid int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
order_uid varchar(36) NOT NULL COMMENT '주문 정보',
user_uid varchar(36) NOT NULL COMMENT '사용자 정보',
email varchar(50) NOT NULL,
phone varchar(20) NULL COMMENT '연락처',
title varchar(255) NOT NULL COMMENT '청구서제목',
price int(10) UNSIGNED NOT NULL COMMENT '청구금액',
content text NOT NULL COMMENT '정구서내용',
upload_file varchar(255) NULL COMMENT '파일명',
response text NULL COMMENT '결제처리결과',
status varchar(10) NOT NULL DEFAULT 'use' COMMENT 'use: 사용, unuse: 사용않함 등등',
status varchar(10) NOT NULL DEFAULT 'use' COMMENT 'use: 미납, unuse: 납부완료 등등',
updated_at timestamp NULL DEFAULT NULL,
created_at timestamp NOT NULL DEFAULT current_timestamp(),
deleted_at timestamp NULL DEFAULT NULL,

View File

@ -5,9 +5,8 @@ return [
'uid' => "청구서번호",
'order_uid' => "주문정보",
'user_uid' => "사용자정보",
'email' => '이메일',
'phone' => '연락처',
'title' => "청구서명",
'price' => "청구금액",
'upload_file' => "청구서파일",
'response' => "결제처리결과",
'status' => "상태",
@ -15,7 +14,11 @@ return [
'created_at' => "작성일"
],
"STATUS" => [
"use" => "사용",
"unuse" => "사용않함",
"use" => "미납",
"unuse" => "납부완료",
],
"PAYMENT" => [
'CARD' => " 카 드 결 제",
'DEPOSIT' => " 무통장입금",
]
];

View File

@ -22,13 +22,9 @@ return [
],
"STATUS" => [
"use" => "장바구니",
"unuse" => "주문취소",
"Deposit" => "무통장입금",
"Card" => "카드결제",
"paid" => "결제완료"
"unuse" => "사용해지",
"cancel" => "주문취소",
"rental" => "월이용권",
"onetime" => "일회성"
],
"PAYMENT" => [
'CARD' => " 카 드 결 제",
'DEPOSIT' => " 무통장입금",
]
];