shoppingmallv2 init...
This commit is contained in:
parent
baefe109eb
commit
3dec0ab564
@ -73,11 +73,4 @@ class ProductController extends FrontController
|
|||||||
$this->_model->where("status", DEFAULTS['STATUS']);
|
$this->_model->where("status", DEFAULTS['STATUS']);
|
||||||
parent::index_setCondition();
|
parent::index_setCondition();
|
||||||
}
|
}
|
||||||
//Download관련
|
|
||||||
public function download_process($entity)
|
|
||||||
{
|
|
||||||
//권한체크
|
|
||||||
$this->isRole('download', $entity);
|
|
||||||
return parent::download_process($entity);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -146,7 +146,7 @@ CREATE TABLE shoppingmall.tw_order (
|
|||||||
price int(10) UNSIGNED NOT NULL COMMENT '결제액',
|
price int(10) UNSIGNED NOT NULL COMMENT '결제액',
|
||||||
quantity varchar(255) NOT NULL COMMENT '수량',
|
quantity varchar(255) NOT NULL COMMENT '수량',
|
||||||
paymentday int(2) UNSIGNED 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,
|
updated_at timestamp NULL DEFAULT NULL,
|
||||||
created_at timestamp NOT NULL DEFAULT current_timestamp(),
|
created_at timestamp NOT NULL DEFAULT current_timestamp(),
|
||||||
deleted_at timestamp NULL DEFAULT NULL,
|
deleted_at timestamp NULL DEFAULT NULL,
|
||||||
@ -158,15 +158,13 @@ CREATE TABLE shoppingmall.tw_order (
|
|||||||
DROP TABLE IF EXISTS shoppingmall.tw_billing;
|
DROP TABLE IF EXISTS shoppingmall.tw_billing;
|
||||||
CREATE TABLE shoppingmall.tw_billing (
|
CREATE TABLE shoppingmall.tw_billing (
|
||||||
uid int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
uid int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||||
order_uid varchar(36) NOT NULL COMMENT '주문 정보',
|
|
||||||
user_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 '청구서제목',
|
title varchar(255) NOT NULL COMMENT '청구서제목',
|
||||||
|
price int(10) UNSIGNED NOT NULL COMMENT '청구금액',
|
||||||
content text NOT NULL COMMENT '정구서내용',
|
content text NOT NULL COMMENT '정구서내용',
|
||||||
upload_file varchar(255) NULL COMMENT '파일명',
|
upload_file varchar(255) NULL COMMENT '파일명',
|
||||||
response text 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,
|
updated_at timestamp NULL DEFAULT NULL,
|
||||||
created_at timestamp NOT NULL DEFAULT current_timestamp(),
|
created_at timestamp NOT NULL DEFAULT current_timestamp(),
|
||||||
deleted_at timestamp NULL DEFAULT NULL,
|
deleted_at timestamp NULL DEFAULT NULL,
|
||||||
|
|||||||
@ -5,9 +5,8 @@ return [
|
|||||||
'uid' => "청구서번호",
|
'uid' => "청구서번호",
|
||||||
'order_uid' => "주문정보",
|
'order_uid' => "주문정보",
|
||||||
'user_uid' => "사용자정보",
|
'user_uid' => "사용자정보",
|
||||||
'email' => '이메일',
|
|
||||||
'phone' => '연락처',
|
|
||||||
'title' => "청구서명",
|
'title' => "청구서명",
|
||||||
|
'price' => "청구금액",
|
||||||
'upload_file' => "청구서파일",
|
'upload_file' => "청구서파일",
|
||||||
'response' => "결제처리결과",
|
'response' => "결제처리결과",
|
||||||
'status' => "상태",
|
'status' => "상태",
|
||||||
@ -15,7 +14,11 @@ return [
|
|||||||
'created_at' => "작성일"
|
'created_at' => "작성일"
|
||||||
],
|
],
|
||||||
"STATUS" => [
|
"STATUS" => [
|
||||||
"use" => "사용",
|
"use" => "미납",
|
||||||
"unuse" => "사용않함",
|
"unuse" => "납부완료",
|
||||||
],
|
],
|
||||||
|
"PAYMENT" => [
|
||||||
|
'CARD' => " 카 드 결 제",
|
||||||
|
'DEPOSIT' => " 무통장입금",
|
||||||
|
]
|
||||||
];
|
];
|
||||||
|
|||||||
@ -22,13 +22,9 @@ return [
|
|||||||
],
|
],
|
||||||
"STATUS" => [
|
"STATUS" => [
|
||||||
"use" => "장바구니",
|
"use" => "장바구니",
|
||||||
"unuse" => "주문취소",
|
"unuse" => "사용해지",
|
||||||
"Deposit" => "무통장입금",
|
"cancel" => "주문취소",
|
||||||
"Card" => "카드결제",
|
"rental" => "월이용권",
|
||||||
"paid" => "결제완료"
|
"onetime" => "일회성"
|
||||||
],
|
],
|
||||||
"PAYMENT" => [
|
|
||||||
'CARD' => " 카 드 결 제",
|
|
||||||
'DEPOSIT' => " 무통장입금",
|
|
||||||
]
|
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user