|
|
@@ -26,7 +26,6 @@ namespace common\models;
|
|
|
* @property string $receiveFloor 楼号门牌号
|
|
|
* @property string $receiveLong 收货的经度
|
|
|
* @property string $receiveLat 收货的纬度
|
|
|
- * @property int $useType 赠送类型,0送给别人,1寄给自己
|
|
|
* @property int $anonymity 0不匿名派送 1匿名派送
|
|
|
* @property string $sendCost 运费
|
|
|
* @property string $sendNum 配送编号,方便寻找订单对应的花束
|
|
|
@@ -71,7 +70,7 @@ class xhOrder extends xhBaseModel
|
|
|
{
|
|
|
return [
|
|
|
[['id', 'createTime'], 'required'],
|
|
|
- [['goodsNum', 'payWay', 'payStyle', 'modPriceStatus', 'sourceType', 'shopId','userId', 'merchantId', 'useType', 'anonymity', 'sendDistance', 'reachPeriod', 'needCard', 'couponId', 'luckyNum', 'payStatus', 'sendStatus', 'printStatus', 'status', 'deadline', 'addTime', 'needSend'], 'integer'],
|
|
|
+ [['goodsNum', 'payWay', 'payStyle', 'modPriceStatus', 'sourceType', 'shopId','userId', 'merchantId', 'anonymity', 'sendDistance', 'reachPeriod', 'needCard', 'couponId', 'luckyNum', 'payStatus', 'sendStatus', 'printStatus', 'status', 'deadline', 'addTime', 'needSend'], 'integer'],
|
|
|
[['prePrice', 'actPrice', 'sendCost'], 'number'],
|
|
|
[['reachTime', 'createTime', 'updateTime'], 'safe'],
|
|
|
[['id', 'orderName', 'receiveFullAddress', 'receiveUserName'], 'string', 'max' => 100],
|
|
|
@@ -111,7 +110,6 @@ class xhOrder extends xhBaseModel
|
|
|
'receiveFloor' => 'Receive Floor',
|
|
|
'receiveLong' => 'Receive Long',
|
|
|
'receiveLat' => 'Receive Lat',
|
|
|
- 'useType' => 'Use Type',
|
|
|
'anonymity' => 'Anonymity',
|
|
|
'shopId' => 'shopId',
|
|
|
'sendCost' => 'Send Cost',
|