data post

 avatar
unknown
javascript
4 years ago
596 B
5
Indexable
 var data = {
      productId: productId.toString(),
      accountId: accountId.toString(),
      nama_product: NamaProduk.toString(),
      description: DeskrispsiProduk.toString(),
      category: NamaKategori.toString(),
      sub_category: NameSubKategori.toString(),
      statusId: value == false ? 1 : 2, //1-aktif,2=inactive
      skuCode: skukode.toString(),
      id_user: id_user.toString(),
      storeId: id_store != "" ? id_store.split(",") : null,
      bestSeller: value_bestsaller == false ? 0 : 1,
      newArrival: value_arrival == false ? 0 : 1,
      file: data_image,
    };
Editor is loading...