Documentation
¶
Overview ¶
*
- Copyright 2015 @ S1N1 Team.
- name : payment_opt
- author : jarryliu
- date : -- :
- description :
- history :
Index ¶
Constants ¶
View Source
const ( // 已作废 ORDER_CANCEL = 0 // 订单已创建 ORDER_CREATED = 1 // 订单已确认 ORDER_CONFIRMED = 2 // 订单处理中 ORDER_PROCESSING = 3 // 订单发货中 ORDER_SENDING = 4 // 已收货 ORDER_RECEIVED = 5 // 订单完成 ORDER_COMPLETED = 6 // 可进行流程的状态 ORDER_SETUP_STATE = "1,2,3,4,5" )
View Source
const ( //线下付款 PAY_OFFLINE = 1 //线上付款 PAY_ONLINE = 2 )
View Source
const ( /****** 站点状态 *********/ //合作商网站关闭 PARTNER_SITE_CLOSED = 0 //合作商网站正常 PARTNER_SITE_NORMAL = 1 /****** 积分返回类型 *********/ INTEGRAL_TYPE_SYSTEMSEND = 1 INTEGRAL_TYPE_LOGINSEND = 2 INTEGRAL_TYPE_ORDER = 3 INTEGRAL_TYPE_BACK = 4 INTEGRAL_TYPE_EXCHANGE = 12 )
View Source
const ( PaymentOnlinePay int = 1 // 线上付款 PaymentOfflineCashPay = 2 // 线下现金付款 PaymentRemit int = 3 // 转账汇款 )
Variables ¶
View Source
var ( PaymentOptionNames []string = []string{"在线付款", "货到付款", "转账汇款"} PaymentHelpContents []string = []string{ "<span style='color:red'>请完成最后一步,点击按钮在线支付订单。</span>", "请您在收到商品时候,现金支付,或使用POS机刷卡(不同地区可能不支持).", "请通过银行汇款至我们的银行账户后,并联系客服进行订单付款。详情点击<a target='_blank' href='/content/page?id=bank-transfer'>这里</a>查看。", } )
View Source
var (
FRONT_SHOP_STATE_TEXTS = [3]string{"停用", "营业中", "暂停营业"}
)
Functions ¶
func GetFrontShopStateName ¶
Types ¶
type OrderLogType ¶
type OrderLogType int
const ( ORDER_LOG_SETUP OrderLogType = 1 ORDER_LOG_CHANGE_PRICE OrderLogType = 2 )
func (OrderLogType) String ¶
func (this OrderLogType) String() string
type OrderState ¶
type OrderState int
func (OrderState) String ¶
func (t OrderState) String() string
Click to show internal directories.
Click to hide internal directories.