<?php
return array(
    'taobao_db_transfer'=>array(
          '1.0'=>array('ctl'=>'api/api_products','act'=>'import_taobao_database')
      ),
    'taobao_cat_transfer'=>array(
          '1.0'=>array('ctl'=>'api/api_products','act'=>'taobao_cat_transfer')
      ),
    'taobao_upload_complete'=>array(
          '1.0'=>array('ctl'=>'api/api_products','act'=>'taobao_upload_complete')
     ),
    'search_goods_list'=>array(
          '1.0'=>
                array('ctl'=>'api/goods/api_1_0_goods','act'=>'search_goods_list_by_lastmodify',
                   'columns'=>'*'
                )
     ),
    'search_goods_detail'=>array(
          '1.0'=>
                array('ctl'=>'api/goods/api_1_0_goods','act'=>'search_goods_detail',
                   'required'=>array('goods_id'),
                   'columns'=>'*'
                )
     ),
    'get_goods_brand'=>array(
        '1.0'=>
                array('ctl'=>'api/goods/api_1_0_goods','act'=>'get_goods_brand','columns'=>'*')

    ),
    'get_goods_cat'=>array(
        '1.0'=>
                array('ctl'=>'api/goods/api_1_0_goods','act'=>'get_goods_cat','columns'=>'*')
    ),
    'add_goods_info'=>array(
        '1.0'=>
                array('ctl'=>'api/goods/api_1_0_goods','act'=>'add_goods_info','columns'=>'*')
    ),
    'search_deleted_goods_list'=>array(
          '1.0'=>
                array('ctl'=>'api/goods/api_1_0_goods','act'=>'search_deleted_goods_list',
                   'required'=>array('last_modify_st_time','last_modify_en_time'),
                   'columns'=>'*'
                )
     ),
    'search_products_list'=>array(
          '1.0'=>
                array('ctl'=>'api/product/api_1_0_product','act'=>'search_products_list',
                   'columns'=>'*'
                )
     ),
     'set_goods_bn'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'set_goods_bn','required'=>array('goods_id','bn')
          )
     ),
    'search_site_information'=>array(
          '1.0'=>array('ctl'=>'api/site/api_1_0_site','act'=>'search_site_information','columns'=>'*'
          )
     ),
     'search_site_information'=>array(
          '1.0'=>array('ctl'=>'api/site/api_1_0_site','act'=>'search_site_information','columns'=>'*'
          )
     ),
    'template_info'=>array(
          '1.0'=>array('ctl'=>'api/site/api_1_0_site','act'=>'template_info','columns'=>'*','n_varify'=>true
          )
     ),
     'search_order_detail'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'search_order_detail','columns'=>'*','required'=>array('order_id')
          )
     ),
     'search_order_list'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'search_order_list','columns'=>'*'
          )
     ),
/**********B2C - PIM API*******************************************/
        'add_category'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'add_category','required'=>array('name'),'n_varify'=>true),
         ),
         'delete_category'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'delete_category','required'=>array('type_id'),'n_varify'=>true),
         ),
         'update_category'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'update_category','required'=>array('type_id'),'n_varify'=>true),
         ),
         'get_category'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_category','n_varify'=>true),
         ),
         'get_category_single'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_category_single','required'=>array('type_id'),'n_varify'=>true),
         ),
         'add_classification'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'add_classification','required'=>array('cat_name'),'n_varify'=>true),
         ),
         'delete_classification'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'delete_classification','required'=>array('cat_id'),'n_varify'=>true),
         ),
         'update_classification'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'update_classification','required'=>array('cat_id'),'n_varify'=>true),
         ),
         'get_classification'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_classification','n_varify'=>true),
         ),
         'get_classification_single'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_classification_single','required'=>array('cat_id'),'n_varify'=>true),
         ),
         'add_brand'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'add_brand','required'=>array('brand_name'),'n_varify'=>true),
         ),
         'delete_brand'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'delete_brand','required'=>array('brand_id'),'n_varify'=>true),
         ),
         'get_brand'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_brand','n_varify'=>true),
         ),
         'get_brand_single'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_brand_single','required'=>array('brand_id'),'n_varify'=>true),
         ),
         'add_spec'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'add_spec','required'=>array('spec_name'),'n_varify'=>true),
         ),
         'delete_spec'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'delete_spec','required'=>array('spec_id'),'n_varify'=>true),
         ),
         'update_spec'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'update_spec','required'=>array('spec_id'),'n_varify'=>true),
         ),
         'get_spec'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_spec','n_varify'=>true),
         ),
         'get_spec_single'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_spec_single','required'=>array('spec_id'),'n_varify'=>true),
         ),
         'add_spec_value'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'add_spec_value','required'=>array('spec_id'),'n_varify'=>true),
         ),
         'delete_spec_value'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'delete_spec_value','required'=>array('spec_id'),'n_varify'=>true),
         ),
         'get_spec_value'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_spec_value','required'=>array('spec_id'),'n_varify'=>true),
         ),
         'get_spec_value_single'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_spec_value_single','required'=>array('spec_value_id'),'n_varify'=>true),
         ),
         'update_spec_value'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'update_spec_value','required'=>array('spec_id'),'n_varify'=>true),
         ),
         'add_props'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'add_props','required'=>array('type_id'),'n_varify'=>true),
         ),
         'delete_props'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'delete_props','required'=>array('type_id'),'n_varify'=>true),
         ),
         'update_props'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'update_props','required'=>array('type_id'),'n_varify'=>true),
         ),
         'add_props_value'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'add_props_value','required'=>array('type_id'),'n_varify'=>true),
         ),
         'delete_props_value'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'delete_props_value','required'=>array('type_id'),'n_varify'=>true),
         ),
         'update_props_value'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'update_props_value','required'=>array('type_id'),'n_varify'=>true),
         ),
         'add_product'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'add_product','required'=>array('goods'),'n_varify'=>true),
         ),
         'delete_product'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'delete_product','required'=>array('goods_id'),'n_varify'=>true),
         ),
         'update_product'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'update_product','required'=>array('goods'),'n_varify'=>true),
         ),
         'get_products_list'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_products_list','n_varify'=>true),
         ),
         'get_product_detail_info'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_product_detail_info','n_varify'=>true),
         ),
         'add_sku'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'add_sku','required'=>array('goods_id'),'n_varify'=>true),
         ),
         'delete_sku'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'delete_sku','required'=>array('goods_id','product_id'),'n_varify'=>true),
         ),
         'update_sku'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'update_sku','required'=>array('product_id'),'n_varify'=>true),
         ),
         'get_sku_list'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_sku_list','n_varify'=>true),
         ),
         'get_sku_detail'=>array(
              '3.1'=>array('ctl'=>'api/pim/api_pim_3_1_goods','act'=>'get_sku_detail','required'=>array('product_id'),'n_varify'=>true),
         ),
         /**********B2C - OME API*******************************************/

         
'set_ome_dead_order'=>array(
    '1.0'=>array('ctl'=>'api/ome/order/api_b2b_1_0_order','act'=>'set_ome_dead_order','required'=>array('order_id')),
    '2.0'=>array('ctl'=>'api/ome/order/api_order','act'=>'set_order_status'),
),
'change_ome_order_info'=>array(
    '1.0'=>array('ctl'=>'api/ome/order/api_b2b_1_0_order','act'=>'change_ome_order_info','required'=>array('order_id')),
    '2.0'=>array('ctl'=>'api/ome/order/api_order','act'=>'set_order_status'),
),
'set_ome_message'=>array(
    '1.0'=>array('ctl'=>'api/ome/order/api_b2b_1_0_order','act'=>'set_ome_message','required'=>array('rel_order')),
),
'set_ome_ship_addr'=>array(
    '1.0'=>array('ctl'=>'api/ome/order/api_b2b_1_0_order','act'=>'set_ome_ship_addr','required'=>array('order_id')),
),
'set_ome_mark'=>array(
    '1.0'=>array('ctl'=>'api/ome/order/api_b2b_1_0_order','act'=>'set_ome_mark','required'=>array('order_id')),
),
'create_ome_payments'=>array(
    '1.0'=>array('ctl'=>'api/ome/payment/api_b2b_1_0_payment','act'=>'insert_ome_payments'),
    '2.0'=>array('ctl'=>'api/ome/order/api_payment','act'=>'dopay'),
),
'create_ome_refunds'=>array(
    '1.0'=>array('ctl'=>'api/ome/refund/api_1_0_refund','act'=>'insert_ome_refunds'),
    '2.0'=>array('ctl'=>'api/ome/order/api_refund','act'=>'dorefund'),
),
'create_ome_delivery'=>array(
    '1.0'=>array('ctl'=>'api/ome/order/api_b2c_1_0_delivery','act'=>'insert_ome_delivery'),
    '2.0'=>array('ctl'=>'api/ome/order/api_delivery','act'=>'create'),
),
'update_ome_logi_inf'=>array(
    '1.0'=>array('ctl'=>'api/ome/order/api_b2c_1_0_delivery','act'=>'update_ome_logi_inf'),
    '2.0'=>array('ctl'=>'api/ome/order/api_delivery','act'=>'update'),
),
'update_ome_delivery_status'=>array(
    '1.0'=>array('ctl'=>'api/ome/order/api_b2c_1_0_delivery','act'=>'update_ome_delivery_status'),
    '2.0'=>array('ctl'=>'api/ome/order/api_delivery','act'=>'update'),
),
'update_ome_order_status'=>array(
    '1.0'=>array('ctl'=>'api/ome/order/api_b2c_1_0_delivery','act'=>'update_ome_order_status')
),
'set_ome_products_store'=>array(
    '1.0'=>array('ctl'=>'api/ome/product/api_1_0_product','act'=>'set_ome_products_store'),
    '2.0'=>array('ctl'=>'api/ome/order/api_order','act'=>'update_store'),
),

'update_ome_aftersale'=>array(
    '1.0'=>array('ctl'=>'api/ome/order/api_b2b_1_0_order','act'=>'update_ome_aftersale'),
    '2.0'=>array('ctl'=>'api/ome/order/api_order','act'=>'update_aftersale'),
),
'add_ome_aftersale'=>array(
    '1.0'=>array('ctl'=>'api/ome/order/api_b2b_1_0_order','act'=>'add_ome_aftersale'),
    '2.0'=>array('ctl'=>'api/ome/order/api_order','act'=>'update_aftersale'),
),
'start_ome_payment'=>array(
    '1.0'=>array('ctl'=>'api/ome/payment/api_b2b_1_0_payment','act'=>'start_ome_payment'),
    '2.0'=>array('ctl'=>'api/ome/order/api_payment','act'=>'init_payment_cfg'),
),

/**********B2C API*******************************************/
     'add_delivery_bill'=>array(
          '1.0'=>array('ctl'=>'api/order/api_b2c_1_0_delivery','act'=>'add_delivery_bill','columns'=>'*'
          )
     ),
     'add_reship_bill'=>array(
          '1.0'=>array('ctl'=>'api/order/api_b2c_1_0_delivery','act'=>'add_reship_bill','columns'=>'*'
          )
     ),

/**********B2B API*******************************************/
    'search_sync_goods_id'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_b2b_1_0_goods','act'=>'search_sync_goods_id','required'=>array('last_modify_st_time','last_modify_en_time')),
          '2.0'=>array('ctl'=>'api/goods/api_b2b_2_0_goods','act'=>'search_sync_goods_id','required'=>array('start_version_id','last_version_id'))
     ),
    'search_sync_goods_detail'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_b2b_1_0_goods','act'=>'search_sync_goods_detail','columns'=>'*','required'=>array('goods_id')),
          '2.0'=>array('ctl'=>'api/goods/api_b2b_2_0_goods','act'=>'search_sync_goods_detail','columns'=>'*','required'=>array('goods_id')),
          '3.0'=>array('ctl'=>'api/goods/api_b2b_3_0_goods','act'=>'search_sync_goods_detail','columns'=>'*','required'=>array('goods_id'))
     ),
     'reset_goods_sync_status'=>array(
          '3.0'=>array('ctl'=>'api/goods/api_b2b_3_0_goods','act'=>'reset_goods_sync_status')
     ),
    'search_del_goods_id'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_b2b_1_0_goods','act'=>'search_del_goods_id','required'=>array('last_modify_st_time','last_modify_en_time')),
          '2.0'=>array('ctl'=>'api/goods/api_b2b_2_0_goods','act'=>'search_del_goods_id','required'=>array('start_version_id','last_version_id'))
     ),
    'set_goods_del_succ'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_b2b_1_0_goods','act'=>'set_goods_del_succ','required'=>array('last_modify_st_time','last_modify_en_time')),
          '2.0'=>array('ctl'=>'api/goods/api_b2b_2_0_goods','act'=>'set_goods_del_succ','required'=>array('start_version_id','last_version_id'))
     ),
    'search_gimage_info'=>array(
          '1.0'=>array('ctl'=>'api/gimage/api_b2b_1_0_gimage','act'=>'search_gimage_info','columns'=>'*','required'=>array('gimage_id')
          )
     ),
    'search_product_line'=>array(
          '1.0'=>array('ctl'=>'api/productline/api_b2b_1_0_productline','act'=>'search_product_line','columns'=>'*','required'=>array('last_modify_st_time','last_modify_en_time')),
          '2.0'=>array('ctl'=>'api/productline/api_b2b_2_0_productline','act'=>'search_product_line','columns'=>'*','required'=>array('start_version_id','last_version_id'))
     ),
    'search_product_line_dealer'=>array(
          '1.0'=>array('ctl'=>'api/productline/api_b2b_1_0_productline','act'=>'search_product_line_dealer','columns'=>'*'),
          '2.0'=>array('ctl'=>'api/productline/api_b2b_2_0_productline','act'=>'search_product_line_dealer','columns'=>'*')
     ),
    'search_cat_list'=>array(
          '1.0'=>array('ctl'=>'api/site/api_b2b_1_0_cat','act'=>'search_cat_list','columns'=>'*','required'=>array('last_modify_st_time','last_modify_en_time')),
          '2.0'=>array('ctl'=>'api/site/api_b2b_2_0_cat','act'=>'search_cat_list','columns'=>'*','required'=>array('start_version_id','last_version_id'))
     ),
    'search_brand_list'=>array(
          '1.0'=>array('ctl'=>'api/site/api_b2b_1_0_brand','act'=>'search_brand_list','columns'=>'*','required'=>array('last_modify_st_time','last_modify_en_time')),
          '2.0'=>array('ctl'=>'api/site/api_b2b_2_0_brand','act'=>'search_brand_list','columns'=>'*','required'=>array('start_version_id','last_version_id'))

     ),
    'search_goodstype_list'=>array(
          '1.0'=>array('ctl'=>'api/site/api_b2b_1_0_goodstype','act'=>'search_goodstype_list','columns'=>'*','required'=>array('last_modify_st_time','last_modify_en_time')),
          '2.0'=>array('ctl'=>'api/site/api_b2b_2_0_goodstype','act'=>'search_goodstype_list','columns'=>'*','required'=>array('start_version_id','last_version_id'))
     ),
    'search_goodstype_brand'=>array(
          '1.0'=>array('ctl'=>'api/site/api_b2b_1_0_goodstype','act'=>'search_goodstype_brand','columns'=>'*','required'=>array('last_modify_st_time','last_modify_en_time')),
          '2.0'=>array('ctl'=>'api/site/api_b2b_2_0_goodstype','act'=>'search_goodstype_brand','columns'=>'*','required'=>array('start_version_id','last_version_id'))
     ),
    'search_goodstype_spec'=>array(
          '1.0'=>array('ctl'=>'api/site/api_b2b_1_0_goodstype','act'=>'search_goodstype_spec','columns'=>'*','required'=>array('last_modify_st_time','last_modify_en_time')),
          '2.0'=>array('ctl'=>'api/site/api_b2b_2_0_goodstype','act'=>'search_goodstype_spec','columns'=>'*','required'=>array('start_version_id','last_version_id'))
     ),
    'search_spec_list'=>array(
          '1.0'=>array('ctl'=>'api/site/api_b2b_1_0_spec','act'=>'search_spec_list','columns'=>array('spec_id'),'required'=>array('last_modify_st_time','last_modify_en_time')),
          '2.0'=>array('ctl'=>'api/site/api_b2b_2_0_spec','act'=>'search_spec_list','columns'=>array('spec_id'),'required'=>array('start_version_id','last_version_id'))
     ),
    'search_dly_area'=>array(
          '1.0'=>array('ctl'=>'api/shipping/api_b2b_1_0_area','act'=>'search_dly_area','columns'=>'*','n_varify'=>true
          )
     ),
    'search_dly_corp'=>array(
          '1.0'=>array('ctl'=>'api/shipping/api_b2b_1_0_corp','act'=>'search_dly_corp','columns'=>'*','n_varify'=>true
          )
     ),
    'search_dly_h_area'=>array(
          '1.0'=>array('ctl'=>'api/shipping/api_b2b_1_0_h_area','act'=>'search_dly_h_area','columns'=>'*','n_varify'=>true
          )
     ),
    'get_dly_h_area_list'=>array(
          '1.0'=>array('ctl'=>'api/shipping/api_b2b_1_0_h_area','act'=>'get_dly_h_area_list','columns'=>'*','n_varify'=>true
          )
     ),

    'search_dly_type'=>array(
          '1.0'=>array('ctl'=>'api/shipping/api_b2b_1_0_type','act'=>'search_dly_type','columns'=>'*','n_varify'=>true
          )
     ),
     'get_dly_type_list'=>array(
          '1.0'=>array('ctl'=>'api/shipping/api_b2b_1_0_type','act'=>'get_dly_type_list','columns'=>'*','n_varify'=>true
          )
     ),
    'search_payment_cfg_list'=>array(
          '1.0'=>array('ctl'=>'api/payment/api_b2b_1_0_payment_cfg','act'=>'search_payment_cfg_list','columns'=>'*','n_varify'=>true),
          '2.0'=>array('ctl'=>'api/payment/api_b2b_2_0_payment_cfg','act'=>'search_payment_cfg_list','columns'=>'*','n_varify'=>true)
     ),
     'get_payment_cfg_list'=>array(
          '1.0'=>array('ctl'=>'api/payment/api_b2b_1_0_payment_cfg','act'=>'get_payment_cfg_list','columns'=>'*'
          ),
          '2.0'=>array('ctl'=>'api/payment/api_b2b_2_0_payment_cfg','act'=>'get_payment_cfg_list','columns'=>'*'
          )
     ),
     'search_product_by_bn'=>array(
          '1.0'=>array('ctl'=>'api/product/api_b2b_1_0_product','act'=>'search_product_by_bn','columns'=>'*','required'=>array('dealer_id','bns')),
          '2.0'=>array('ctl'=>'api/product/api_b2b_2_0_product','act'=>'search_product_by_bn','columns'=>'*','required'=>array('dealer_id','bns'))
     ),
     'filt_goods'=>array(
          '3.0'=>array('ctl'=>'api/product/api_b2b_3_0_product','act'=>'filt_goods','columns'=>'*','required'=>array('dealer_id')),
     ),
     'set_dead_order'=>array(
          '1.0'=>array('ctl'=>'api/order/api_b2b_1_0_order','act'=>'set_dead_order','required'=>array('order_id')),
          '2.0'=>array('ctl'=>'api/order/api_b2b_2_0_order','act'=>'set_dead_order','required'=>array('order_id'))
     ),
     'set_cancel_stop_shipping'=>array(
          '1.0'=>array('ctl'=>'api/order/api_b2b_1_0_order','act'=>'set_cancel_stop_shipping','required'=>array('order_id')),
          '2.0'=>array('ctl'=>'api/order/api_b2b_2_0_order','act'=>'set_cancel_stop_shipping','required'=>array('order_id'))
     ),
     'set_stop_shipping'=>array(
          '1.0'=>array('ctl'=>'api/order/api_b2b_1_0_order','act'=>'set_stop_shipping','required'=>array('order_id')),
          '2.0'=>array('ctl'=>'api/order/api_b2b_2_0_order','act'=>'set_stop_shipping','required'=>array('order_id'))
     ),
     'search_payments_by_order'=>array(
          '1.0'=>array('ctl'=>'api/payment/api_b2b_1_0_payment','act'=>'search_payments_by_order','columns'=>'*','required'=>array('order_id')),
          '2.0'=>array('ctl'=>'api/payment/api_b2b_2_0_payment','act'=>'search_payments_by_order','columns'=>'*','required'=>array('order_id'))
     ),
     'generate_order_record'=>array(
          '1.0'=>array('ctl'=>'api/order/api_b2b_1_0_order','act'=>'generate_order_record','columns'=>'*','required'=>array('order')),
          '2.0'=>array('ctl'=>'api/order/api_b2b_2_0_order','act'=>'generate_order_record','columns'=>'*','required'=>array('order')),
          '3.1'=>array('ctl'=>'api/order/api_b2b_3_1_order','act'=>'generate_order_record','columns'=>'*','required'=>array('order'))
     ),
     'get_order_setting'=>array(
          '3.0'=>array('ctl'=>'api/order/api_b2b_3_0_order','act'=>'get_order_setting'),
     ),
     'deduct_dealer_advance'=>array(
          '1.0'=>array('ctl'=>'api/member/api_b2b_1_0_advance','act'=>'deduct_dealer_advance','columns'=>'*','required'=>array('dealer_id','order_id','pay_id')),
          '2.0'=>array('ctl'=>'api/member/api_b2b_2_0_advance','act'=>'deduct_dealer_advance','columns'=>'*','required'=>array('dealer_id','order_id','pay_id'))
     ),
     'bind_license'=>array(
          '3.0'=>array('ctl'=>'api/member/api_b2b_3_0_member','act'=>'bind_license','required'=>array('user_name','user_pwd','license_id'))
     ),
     'change_order_info'=>array(
          '1.0'=>array('ctl'=>'api/order/api_b2b_1_0_order','act'=>'change_order_info','columns'=>'*','required'=>array('order')),
          '2.0'=>array('ctl'=>'api/order/api_b2b_2_0_order','act'=>'change_order_info','columns'=>'*','required'=>array('order'))
     ),
     'search_cur_list'=>array(
          '1.0'=>array('ctl'=>'api/site/api_b2b_1_0_cur','act'=>'search_cur_list','n_varify'=>true)
     ),
     'online_pay_center'=>array(
          '1.0'=>array('ctl'=>'api/payment/api_b2b_1_0_payment','act'=>'online_pay_center','required'=>array('order_id','pay_id','currency'),'n_varify'=>true),
          '2.0'=>array('ctl'=>'api/payment/api_b2b_2_0_payment','act'=>'online_pay_center','required'=>array('order_id','pay_id','currency'),'n_varify'=>true)
     ),
     'search_sub_regions'=>array(
          '1.0'=>array('ctl'=>'api/shipping/api_b2b_1_0_region','act'=>'search_sub_regions','required'=>array('p_region_id'),'n_varify'=>true),
          '2.0'=>array('ctl'=>'api/shipping/api_b2b_2_0_region','act'=>'search_sub_regions','required'=>array('p_region_id'),'n_varify'=>true)
     ),
     'search_dltype_byarea'=>array(
          '1.0'=>array('ctl'=>'api/shipping/api_b2b_1_0_region','act'=>'search_dltype_byarea','required'=>array('area_id'),'n_varify'=>true),
          '2.0'=>array('ctl'=>'api/shipping/api_b2b_2_0_region','act'=>'search_dltype_byarea','required'=>array('area_id'),'n_varify'=>true)
     ),
     'search_dly_type_byid'=>array(
          '1.0'=>array('ctl'=>'api/shipping/api_b2b_1_0_region','act'=>'search_dly_type_byid','columns'=>'*','required'=>array('area_id','delivery_id'),'n_varify'=>true),
          '2.0'=>array('ctl'=>'api/shipping/api_b2b_2_0_region','act'=>'search_dly_type_byid','columns'=>'*','required'=>array('area_id','delivery_id'),'n_varify'=>true)
     ),
     'refund'=>array(//todo 内部调用
          '1.0'=>array('ctl'=>'api/order/api_b2b_1_0_refund','act'=>''),
          '2.0'=>array('ctl'=>'api/order/api_b2b_2_0_refund','act'=>'')
     ),
     'verify_member_valid'=>array(//todo 内部调用
          '1.0'=>array('ctl'=>'api/member/api_b2b_1_0_member','act'=>''),
          '2.0'=>array('ctl'=>'api/member/api_b2b_2_0_member','act'=>'')
     ),
     'check_member'=>array(
         '3.0'=>array('ctl'=>'api/member/api_b2b_3_0_member','act'=>'check_member')
     ),
     'getDlTypeByArea'=>array(//todo 内部调用
          '1.0'=>array('ctl'=>'api/order/api_b2b_1_0_delivery','act'=>'')
     ),
     'get_http'=>array(//todo 内部调用
          '1.0'=>array('ctl'=>'api/tools/api_b2b_1_0_tools','act'=>'')
     ),
     'set_product_store'=>array(
          '1.0'=>array('ctl'=>'api/product/api_1_0_product','act'=>'set_product_store')
     ),
    'set_products_store'=>array(
          '1.0'=>array('ctl'=>'api/product/api_1_0_product','act'=>'set_products_store')
     ),
     'search_member_list'=>array(
          '3.0'=>array('ctl'=>'api/member/api_b2b_3_0_member','act'=>'search_member_list')
     ),
     'match_goods'=>array(
          '3.0'=>array('ctl'=>'api/product/api_b2b_3_0_product','act'=>'match_goods','required'=>array('dealer_id','bn','name','specvalue'))
     ),
    /**********ORDER CENTER API*******************************************/
     'set_product_freeze_store'=>array(
          '1.0'=>array('ctl'=>'api/product/api_1_0_product','act'=>'set_product_freeze_store')
     ),
     'set_order_status'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'set_order_status')
     ),
     'set_order_status_center'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'set_order_status_center')
     ),
     'create_payments'=>array(
          '1.0'=>array('ctl'=>'api/payment/api_b2b_1_0_payment','act'=>'insert_payments')
     ),
     'create_refunds'=>array(
          '1.0'=>array('ctl'=>'api/refund/api_1_0_refund','act'=>'insert_refunds')
     ),
     'create_delivery'=>array(
          '1.0'=>array('ctl'=>'api/order/api_b2c_1_0_delivery','act'=>'insert_delivery')
     ),

     'search_aftermarket_list'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'search_aftermarket_list')
     ),
     'set_aftermarket_status'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'set_aftermarket_status')
     ),
     'set_aftermarket_status_c'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'set_aftermarket_status_c')
     ),
     'get_currency_list'=>array(
          '1.0'=>array('ctl'=>'api/site/api_b2b_1_0_cur','act'=>'get_currency_list')
     ),
     'get_order_log'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'get_order_log')
     ),
     'get_order_message'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'get_order_message')
     ),
    'get_order_promotion'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'get_order_promotion')
     ),
     'get_product_detail'=>array(
          '1.0'=>array('ctl'=>'api/product/api_1_0_product','act'=>'get_product_detail','columns'=>'*')
     ),
     'notify_delivery'=>array(
         '1.0'=>array('ctl'=>'api/order/api_b2c_1_0_delivery','act'=>'notify_delivery','columns'=>'*'),
         '2.0'=>array('ctl'=>'api/order/api_b2c_2_0_delivery','act'=>'notify_delivery','columns'=>'*')
     ),

     'set_order_message'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'set_order_message')
     ),

     'create_sell_log'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'create_sell_log')
     ),
     'goods_wltx_exp_list'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'goods_wltx_exp_list')
     ),
     'update_goods_store'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'update_goods_store')
     ),

     'get_payment_info'=>array(
          '1.0'=>array('ctl'=>'api/payment/api_b2b_1_0_payment','act'=>'get_payment_info','columns'=>'*','required'=>array('payment_id')),
     ),

     'sync_mark'=>array(
          '2.0'=>array('ctl'=>'api/site/api_b2b_2_0_sync','act'=>'sync_mark')
     ),
     'get_spec_info'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'get_spec_info','required'=>array('spec_id'))
     ),
     'set_goods_marketable_succ'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'set_goods_marketable_succ','required'=>array('goods_id'))
     ),
     'get_spec_list'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'get_spec_list')
     ),
     'update_goods_image'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'update_goods_image','required'=>array('goods_id'))
     ),
     'get_shop_goods_type'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'get_shop_goods_type')
     ),
     'get_goods_props'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'get_goods_props','required'=>array('type_id'))
     ),
     'delete_goods_image'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'delete_goods_image','required'=>array('goods_id'))
     ),
     'delete_goods_images'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'delete_goods_images','required'=>array('image_id'))
     ),
     'update_goods_info'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'update_goods_info','required'=>array('goods_id'))
     ),
     'add_products_info'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'add_products_info','required'=>array('goods_id'))
     ),
     'delete_products'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'delete_products','required'=>array('goods_id','products_id'))
     ),
     'update_products_info'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'update_products_info','required'=>array('goods_id','products_id'))
     ),
     'create_order'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'create_order')
     ),
     'update_order_remark'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'update_order_remark','required'=>array('order_id','mark_text'))
     ),
     'update_order'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'update_order','required'=>array('order_id'))
     ),
     'get_payments'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'get_payments','required'=>array('order_id'))
     ),
     'get_refunds'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'get_refunds','required'=>array('order_id'))
     ),
     'get_shippings'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'get_shippings','required'=>array('order_id'))
     ),
     'get_returns'=>array(
          '1.0'=>array('ctl'=>'api/order/api_1_0_order','act'=>'get_returns','required'=>array('order_id'))
     ),
     'get_type_spec'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'get_type_spec','required'=>array('type_id'))                
     ),
     'del_images_byid'=>array(
          '1.0'=>array('ctl'=>'api/goods/api_1_0_goods','act'=>'del_images_byid','required'=>array('goods_id'))                
     ),

    //微商=======================================================================
     'trade_order_add'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_order','act'=>'trade_order_add')
     ),
     'trade_order_update'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_order','act'=>'trade_order_update')
     ),
     'add_mobile_shop_info'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_server','act'=>'add_mobile_shop_info'),
     ),
     'delete_mobile_shop_info'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_server','act'=>'delete_mobile_shop_info'),
     ),             
     'get_classification'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_goods','act'=>'get_classification')
     ),
     'get_brand'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_goods','act'=>'get_brand')
     ),
    'check_login'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_member','act'=>'check_login')
     ),
     'get_member_detail'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_member','act'=>'get_member_detail')
     ),
     'check_uname'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_member','act'=>'check_uname')
     ),
     'update_member'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_member','act'=>'update_member')
     ),
     'add_member'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_member','act'=>'add_member')
     ),
     'store_num_iid'=>array(
          '3.0'=>array('ctl'=>'api/mobile/api_3_0_matrix','act'=>'store_num_iid')
     ),
     'get_spec_meta'=>array(
         '3.0'=>array('ctl'=>'api/mobile/api_3_0_spec','act'=>'get_spec_meta')
     ),
     'get_spec_value'=>array(
         '3.0'=>array('ctl'=>'api/mobile/api_3_0_spec','act'=>'get_spec_value')
     ),

    /**********B2B同步B2C接口********************************************/
    'create_supplier'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'create_supplier','required'=>array('supplier_id','domain'))
     ),
    'set_sync_status'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'set_sync_status','required'=>array('supplier_id','data_struct'))
     ),
    'create_supplier_brand'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'create_supplier_brand','required'=>array('supplier_id','data_struct'))
     ),
     'create_supplier_spec'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'create_supplier_spec','required'=>array('supplier_id','data_struct'))
     ),
     'create_supplier_type'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'create_supplier_type','required'=>array('supplier_id','data_struct'))
     ),
     'create_supplier_cat'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'create_supplier_cat','required'=>array('supplier_id','data_struct'))
     ),
     'create_supplier_prices'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'create_supplier_prices','required'=>array('supplier_id','data_struct'))
     ),
      'create_supplier_image'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'create_supplier_image','required'=>array('supplier_id','data_struct'))
     ),
      'create_supplier_goods'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'create_supplier_goods','required'=>array('supplier_id','data_struct'))
     ),
     'set_sync_goods_store'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'set_sync_goods_store','required'=>array('supplier_id','data_struct'))
     ),
     'set_shop_type'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'set_shop_type','required'=>array('shop_type','shop_url'))
     ),
     'create_supplier_rel'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'create_supplier_rel','required'=>array('supplier_id','data_struct'))
     ),
     'get_b2b_products_price'=>array(
         '1.0'=>array('ctl'=>'api/distribution/api_1_0_supplier','act'=>'get_b2b_products_price','required'=>array('supplier_id','supplier_goods_id'))
     ),
);
