Ejemplo n.º 1
0
 public function view_sureAddAttr()
 {
     $OrderSettingAct = new OrderSettingAct();
     $is_ok = $OrderSettingAct->act_sureAddAttr();
     if ($is_ok) {
         if ($is_ok == 2) {
             $state = '属性已存在';
         } else {
             $state = '操作成功';
         }
     } else {
         $state = '操作失败';
     }
     header('location:index.php?mod=orderSetting&act=property&state=' . $state);
     exit;
 }
Ejemplo n.º 2
0
 function act_getPropertyList($select = '*', $where)
 {
     $list = OrderAttrModel::getOrderAttrList($select, $where);
     if ($list) {
         return $list;
     } else {
         self::$errCode = OrderAttrModel::$errCode;
         self::$errMsg = OrderAttrModel::$errMsg;
         return false;
     }
 }