소스 검색

edit cent notice

abiao 5 년 전
부모
커밋
acb1322ac6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      go/gopath/src/fohow.com/apps/controllers/order_controller/order_controller.go

+ 1 - 1
go/gopath/src/fohow.com/apps/controllers/order_controller/order_controller.go

@@ -284,7 +284,7 @@ func (self *OrderController) MultCentCreate() {
 	}
 	freight := base_config.GetFreight()
 	if totalPrice < base_config.GetOrderLimit() {
-		self.ReturnError(403, []string{apps.OrderNotEnough[0], fmt.Sprintf("订单最低金额%d", base_config.GetOrderLimit())}, "", nil)
+		self.ReturnError(403, []string{apps.OrderNotEnough[0], fmt.Sprintf("订单金额不能低于%d积分", base_config.GetOrderLimit()/int64(100))}, "", nil)
 	}
 	order.TotalPrice = totalPrice
 	order.Freight = freight