|
@@ -0,0 +1,1683 @@
|
|
|
|
|
+query userbyid($id: ID) {
|
|
|
|
|
+ userbyid: user_by_id(id: $id) {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ userData_id {
|
|
|
|
|
+ id
|
|
|
|
|
+ nickname
|
|
|
|
|
+ avatar
|
|
|
|
|
+ isVip
|
|
|
|
|
+ vipCode
|
|
|
|
|
+ userPoint
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query adminbyid($id: ID) {
|
|
|
|
|
+ adminbyid: admin_by_id(id: $id) {
|
|
|
|
|
+ id
|
|
|
|
|
+ openid
|
|
|
|
|
+ username
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ email
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query specificationStockbyid($id: ID) {
|
|
|
|
|
+ specificationStockbyid: specificationStock_by_id(id: $id) {
|
|
|
|
|
+ id
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ color
|
|
|
|
|
+ size
|
|
|
|
|
+ stock
|
|
|
|
|
+ status
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query orderPaybyprops($user_id: ID, $order_id: ID, $totalPay: Float, $transactionId: String, $payTime: String) {
|
|
|
|
|
+ orderPaybyprops: orderPay_by_props(user_id: $user_id order_id: $order_id totalPay: $totalPay transactionId: $transactionId payTime: $payTime) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query userCartbyid($id: ID) {
|
|
|
|
|
+ userCartbyid: userCart_by_id(id: $id) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ specificationStock_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+ color
|
|
|
|
|
+ size
|
|
|
|
|
+ stock
|
|
|
|
|
+ status
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+ count
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query userDatabyid($id: ID) {
|
|
|
|
|
+ userDatabyid: userData_by_id(id: $id) {
|
|
|
|
|
+ id
|
|
|
|
|
+ nickname
|
|
|
|
|
+ avatar
|
|
|
|
|
+ isVip
|
|
|
|
|
+ vipCode
|
|
|
|
|
+ userPoint
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query adminbyprops($openid: String, $username: String, $password: String, $telephone: String, $email: String, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ adminbyprops: admin_by_props(openid: $openid username: $username password: $password telephone: $telephone email: $email createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ openid
|
|
|
|
|
+ username
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ email
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query userSearchbyprops($user_id: ID, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ userSearchbyprops: userSearch_by_props(user_id: $user_id createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ keyword
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query userCollectbyprops($user_id: ID, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ userCollectbyprops: userCollect_by_props(user_id: $user_id createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query productbyprops($category: String, $updatedAt: String, $unit: String, $name: String, $createdAt: String, $status: String, $intro: String, $price: Float, $img: String, $stock: Int) {
|
|
|
|
|
+ productbyprops: product_by_props(category: $category updatedAt: $updatedAt unit: $unit name: $name createdAt: $createdAt status: $status intro: $intro price: $price img: $img stock: $stock) {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query orderLogisticsbyid($id: ID) {
|
|
|
|
|
+ orderLogisticsbyid: orderLogistics_by_id(id: $id) {
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ logisticsFee
|
|
|
|
|
+ expressId
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ consigneeTel
|
|
|
|
|
+ id
|
|
|
|
|
+ consignAddress
|
|
|
|
|
+ LogisticsStatus
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ consigneeName
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query specificationStockbyprops($product_id: ID, $color: String, $size: String, $stock: Int, $status: String, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ specificationStockbyprops: specificationStock_by_props(product_id: $product_id color: $color size: $size stock: $stock status: $status createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ color
|
|
|
|
|
+ size
|
|
|
|
|
+ stock
|
|
|
|
|
+ status
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query orderProductbyid($id: ID) {
|
|
|
|
|
+ orderProductbyid: orderProduct_by_id(id: $id) {
|
|
|
|
|
+ remark
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ productColor
|
|
|
|
|
+ unit
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ productSize
|
|
|
|
|
+ orderPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ productImg
|
|
|
|
|
+ productName
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ productPrice
|
|
|
|
|
+ id
|
|
|
|
|
+ count
|
|
|
|
|
+ productPay
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ orderPay_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query userCollectbyid($id: ID) {
|
|
|
|
|
+ userCollectbyid: userCollect_by_id(id: $id) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query userAddressbyprops($address: String, $updatedAt: String, $telephone: String, $default: Int, $city: String, $username: String, $postcode: String, $createdAt: String, $deletedAt: String, $user_id: ID, $area: String, $province: String) {
|
|
|
|
|
+ userAddressbyprops: userAddress_by_props(address: $address updatedAt: $updatedAt telephone: $telephone
|
|
|
|
|
+ default: $default city: $city username: $username postcode: $postcode createdAt: $createdAt deletedAt: $deletedAt user_id: $user_id area: $area province: $province) {
|
|
|
|
|
+ address
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ telephone
|
|
|
|
|
+ default
|
|
|
|
|
+ city
|
|
|
|
|
+ username
|
|
|
|
|
+ postcode
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ deletedAt
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ area
|
|
|
|
|
+ province
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query orderPaybyid($id: ID) {
|
|
|
|
|
+ orderPaybyid: orderPay_by_id(id: $id) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query userAddressbyid($id: ID) {
|
|
|
|
|
+ userAddressbyid: userAddress_by_id(id: $id) {
|
|
|
|
|
+ address
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ telephone
|
|
|
|
|
+ default
|
|
|
|
|
+ city
|
|
|
|
|
+ username
|
|
|
|
|
+ postcode
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ deletedAt
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ area
|
|
|
|
|
+ province
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query orderLogisticsbyprops($updatedAt: String, $logisticsFee: Float, $expressId: String, $createdAt: String, $order_id: ID, $consigneeTel: String, $consignAddress: String, $LogisticsStatus: String, $user_id: ID, $consigneeName: String) {
|
|
|
|
|
+ orderLogisticsbyprops: orderLogistics_by_props(updatedAt: $updatedAt logisticsFee: $logisticsFee expressId: $expressId createdAt: $createdAt order_id: $order_id consigneeTel: $consigneeTel consignAddress: $consignAddress LogisticsStatus: $LogisticsStatus user_id: $user_id consigneeName: $consigneeName) {
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ logisticsFee
|
|
|
|
|
+ expressId
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ consigneeTel
|
|
|
|
|
+ id
|
|
|
|
|
+ consignAddress
|
|
|
|
|
+ LogisticsStatus
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ consigneeName
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query orderbyid($id: ID) {
|
|
|
|
|
+ orderbyid: order_by_id(id: $id) {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ orderLogistics_id {
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ logisticsFee
|
|
|
|
|
+ expressId
|
|
|
|
|
+ createdAt
|
|
|
|
|
+
|
|
|
|
|
+ consigneeTel
|
|
|
|
|
+ id
|
|
|
|
|
+ consignAddress
|
|
|
|
|
+ LogisticsStatus
|
|
|
|
|
+
|
|
|
|
|
+ consigneeName
|
|
|
|
|
+ }
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+ userAddress_id {
|
|
|
|
|
+ address
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ telephone
|
|
|
|
|
+ default
|
|
|
|
|
+ city
|
|
|
|
|
+ username
|
|
|
|
|
+ postcode
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ deletedAt
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+ area
|
|
|
|
|
+ province
|
|
|
|
|
+ }
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ orderPay_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query orderProductbyprops($remark: String, $updatedAt: String, $productColor: String, $unit: String, $product_id: ID, $productSize: String, $orderPay: Float, $createdAt: String, $productImg: String, $productName: String, $order_id: ID, $productPrice: Float, $count: Int, $productPay: Float, $user_id: ID, $orderPay_id: ID) {
|
|
|
|
|
+ orderProductbyprops: orderProduct_by_props(remark: $remark updatedAt: $updatedAt productColor: $productColor unit: $unit product_id: $product_id productSize: $productSize orderPay: $orderPay createdAt: $createdAt productImg: $productImg productName: $productName order_id: $order_id productPrice: $productPrice count: $count productPay: $productPay user_id: $user_id orderPay_id: $orderPay_id) {
|
|
|
|
|
+ remark
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ productColor
|
|
|
|
|
+ unit
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ productSize
|
|
|
|
|
+ orderPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ productImg
|
|
|
|
|
+ productName
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ productPrice
|
|
|
|
|
+ id
|
|
|
|
|
+ count
|
|
|
|
|
+ productPay
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ orderPay_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query productbyid($id: ID) {
|
|
|
|
|
+ productbyid: product_by_id(id: $id) {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query userSearchbyid($id: ID) {
|
|
|
|
|
+ userSearchbyid: userSearch_by_id(id: $id) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ keyword
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query userDatabyprops($nickname: String, $avatar: String, $isVip: Boolean, $vipCode: String, $userPoint: Int, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ userDatabyprops: userData_by_props(nickname: $nickname avatar: $avatar isVip: $isVip vipCode: $vipCode userPoint: $userPoint createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ nickname
|
|
|
|
|
+ avatar
|
|
|
|
|
+ isVip
|
|
|
|
|
+ vipCode
|
|
|
|
|
+ userPoint
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query userCartbyprops($user_id: ID, $product_id: ID, $specificationStock_id: ID, $count: Int, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ userCartbyprops: userCart_by_props(user_id: $user_id product_id: $product_id specificationStock_id: $specificationStock_id count: $count createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ specificationStock_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+ color
|
|
|
|
|
+ size
|
|
|
|
|
+ stock
|
|
|
|
|
+ status
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+ count
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query userbyprops($openid: String, $username: String, $password: String, $telephone: String, $email: String, $userData_id: ID, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ userbyprops: user_by_props(openid: $openid username: $username password: $password telephone: $telephone email: $email userData_id: $userData_id createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ userData_id {
|
|
|
|
|
+ id
|
|
|
|
|
+ nickname
|
|
|
|
|
+ avatar
|
|
|
|
|
+ isVip
|
|
|
|
|
+ vipCode
|
|
|
|
|
+ userPoint
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+query orderbyprops($deliveryTime: String, $updatedAt: String, $orderLogistics_id: ID, $payTime: String, $orderTotalPay: Float, $createdAt: String, $orderStatus: String, $userAddress_id: ID, $orderShipFee: Float, $count: Int, $user_id: ID, $productTotalPay: Float, $orderPay_id: ID) {
|
|
|
|
|
+ orderbyprops: order_by_props(deliveryTime: $deliveryTime updatedAt: $updatedAt orderLogistics_id: $orderLogistics_id payTime: $payTime orderTotalPay: $orderTotalPay createdAt: $createdAt orderStatus: $orderStatus userAddress_id: $userAddress_id orderShipFee: $orderShipFee count: $count user_id: $user_id productTotalPay: $productTotalPay orderPay_id: $orderPay_id) {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ orderLogistics_id {
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ logisticsFee
|
|
|
|
|
+ expressId
|
|
|
|
|
+ createdAt
|
|
|
|
|
+
|
|
|
|
|
+ consigneeTel
|
|
|
|
|
+ id
|
|
|
|
|
+ consignAddress
|
|
|
|
|
+ LogisticsStatus
|
|
|
|
|
+
|
|
|
|
|
+ consigneeName
|
|
|
|
|
+ }
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+ userAddress_id {
|
|
|
|
|
+ address
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ telephone
|
|
|
|
|
+ default
|
|
|
|
|
+ city
|
|
|
|
|
+ username
|
|
|
|
|
+ postcode
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ deletedAt
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+ area
|
|
|
|
|
+ province
|
|
|
|
|
+ }
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ orderPay_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createorderPay($id: ID!, $user_id: ID, $order_id: ID, $totalPay: Float, $transactionId: String, $payTime: String) {
|
|
|
|
|
+ createorderPay: create_orderPay(id: $id user_id: $user_id order_id: $order_id totalPay: $totalPay transactionId: $transactionId payTime: $payTime) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createuser($email: String, $updatedAt: String, $password: String, $telephone: String, $username: String, $createdAt: String, $openid: String, $id: ID!, $userData_id: ID) {
|
|
|
|
|
+ createuser: create_user(email: $email updatedAt: $updatedAt password: $password telephone: $telephone username: $username createdAt: $createdAt openid: $openid id: $id userData_id: $userData_id) {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ userData_id {
|
|
|
|
|
+ id
|
|
|
|
|
+ nickname
|
|
|
|
|
+ avatar
|
|
|
|
|
+ isVip
|
|
|
|
|
+ vipCode
|
|
|
|
|
+ userPoint
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateproduct($category: String, $updatedAt: String, $unit: String, $name: String, $createdAt: String, $status: String, $id: ID, $intro: String, $price: Float, $img: String, $stock: Int) {
|
|
|
|
|
+ updateproduct: update_product(category: $category updatedAt: $updatedAt unit: $unit name: $name createdAt: $createdAt status: $status id: $id intro: $intro price: $price img: $img stock: $stock) {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateuser($email: String, $updatedAt: String, $password: String, $telephone: String, $username: String, $createdAt: String, $openid: String, $id: ID, $userData_id: ID) {
|
|
|
|
|
+ updateuser: update_user(email: $email updatedAt: $updatedAt password: $password telephone: $telephone username: $username createdAt: $createdAt openid: $openid id: $id userData_id: $userData_id) {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ userData_id {
|
|
|
|
|
+ id
|
|
|
|
|
+ nickname
|
|
|
|
|
+ avatar
|
|
|
|
|
+ isVip
|
|
|
|
|
+ vipCode
|
|
|
|
|
+ userPoint
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateuserData($id: ID, $nickname: String, $avatar: String, $isVip: Boolean, $vipCode: String, $userPoint: Int, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ updateuserData: update_userData(id: $id nickname: $nickname avatar: $avatar isVip: $isVip vipCode: $vipCode userPoint: $userPoint createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ nickname
|
|
|
|
|
+ avatar
|
|
|
|
|
+ isVip
|
|
|
|
|
+ vipCode
|
|
|
|
|
+ userPoint
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createuserCollect($id: ID!, $product_id: ID, $user_id: ID, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ createuserCollect: create_userCollect(id: $id product_id: $product_id user_id: $user_id createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createuserAddress($address: String, $updatedAt: String, $telephone: String, $default: Int, $city: String, $username: String, $postcode: String, $createdAt: String, $deletedAt: String, $id: ID!, $user_id: ID, $area: String, $province: String) {
|
|
|
|
|
+ createuserAddress: create_userAddress(address: $address updatedAt: $updatedAt telephone: $telephone
|
|
|
|
|
+ default: $default city: $city username: $username postcode: $postcode createdAt: $createdAt deletedAt: $deletedAt id: $id user_id: $user_id area: $area province: $province) {
|
|
|
|
|
+ address
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ telephone
|
|
|
|
|
+ default
|
|
|
|
|
+ city
|
|
|
|
|
+ username
|
|
|
|
|
+ postcode
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ deletedAt
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ area
|
|
|
|
|
+ province
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteuserCart($id: ID, $user_id: ID, $product_id: ID, $specificationStock_id: ID, $count: Int, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ deleteuserCart: delete_userCart(id: $id user_id: $user_id product_id: $product_id specificationStock_id: $specificationStock_id count: $count createdAt: $createdAt updatedAt: $updatedAt)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateuserAddress($address: String, $updatedAt: String, $telephone: String, $default: Int, $city: String, $username: String, $postcode: String, $createdAt: String, $deletedAt: String, $id: ID, $user_id: ID, $area: String, $province: String) {
|
|
|
|
|
+ updateuserAddress: update_userAddress(address: $address updatedAt: $updatedAt telephone: $telephone
|
|
|
|
|
+ default: $default city: $city username: $username postcode: $postcode createdAt: $createdAt deletedAt: $deletedAt id: $id user_id: $user_id area: $area province: $province) {
|
|
|
|
|
+ address
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ telephone
|
|
|
|
|
+ default
|
|
|
|
|
+ city
|
|
|
|
|
+ username
|
|
|
|
|
+ postcode
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ deletedAt
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ area
|
|
|
|
|
+ province
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateadmin($id: ID, $openid: String, $username: String, $password: String, $telephone: String, $email: String, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ updateadmin: update_admin(id: $id openid: $openid username: $username password: $password telephone: $telephone email: $email createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ openid
|
|
|
|
|
+ username
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ email
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deletespecificationStock($id: ID, $product_id: ID, $color: String, $size: String, $stock: Int, $status: String, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ deletespecificationStock: delete_specificationStock(id: $id product_id: $product_id color: $color size: $size stock: $stock status: $status createdAt: $createdAt updatedAt: $updatedAt)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createuserSearch($id: ID!, $keyword: Int, $user_id: ID, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ createuserSearch: create_userSearch(id: $id keyword: $keyword user_id: $user_id createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ keyword
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createproduct($category: String, $updatedAt: String, $unit: String, $name: String, $createdAt: String, $status: String, $id: ID!, $intro: String, $price: Float, $img: String, $stock: Int) {
|
|
|
|
|
+ createproduct: create_product(category: $category updatedAt: $updatedAt unit: $unit name: $name createdAt: $createdAt status: $status id: $id intro: $intro price: $price img: $img stock: $stock) {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteuserData($id: ID, $nickname: String, $avatar: String, $isVip: Boolean, $vipCode: String, $userPoint: Int, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ deleteuserData: delete_userData(id: $id nickname: $nickname avatar: $avatar isVip: $isVip vipCode: $vipCode userPoint: $userPoint createdAt: $createdAt updatedAt: $updatedAt)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createspecificationStock($id: ID!, $product_id: ID, $color: String, $size: String, $stock: Int, $status: String, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ createspecificationStock: create_specificationStock(id: $id product_id: $product_id color: $color size: $size stock: $stock status: $status createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ color
|
|
|
|
|
+ size
|
|
|
|
|
+ stock
|
|
|
|
|
+ status
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteorderProduct($remark: String, $updatedAt: String, $productColor: String, $unit: String, $product_id: ID, $productSize: String, $orderPay: Float, $createdAt: String, $productImg: String, $productName: String, $order_id: ID, $productPrice: Float, $id: ID, $count: Int, $productPay: Float, $user_id: ID, $orderPay_id: ID) {
|
|
|
|
|
+ deleteorderProduct: delete_orderProduct(remark: $remark updatedAt: $updatedAt productColor: $productColor unit: $unit product_id: $product_id productSize: $productSize orderPay: $orderPay createdAt: $createdAt productImg: $productImg productName: $productName order_id: $order_id productPrice: $productPrice id: $id count: $count productPay: $productPay user_id: $user_id orderPay_id: $orderPay_id)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteuserCollect($id: ID, $user_id: ID, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ deleteuserCollect: delete_userCollect(id: $id user_id: $user_id createdAt: $createdAt updatedAt: $updatedAt)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateuserCollect($id: ID, $product_id: ID, $user_id: ID, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ updateuserCollect: update_userCollect(id: $id product_id: $product_id user_id: $user_id createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteorder($deliveryTime: String, $updatedAt: String, $orderLogistics_id: ID, $payTime: String, $orderTotalPay: Float, $createdAt: String, $orderStatus: String, $userAddress_id: ID, $id: ID, $orderShipFee: Float, $count: Int, $user_id: ID, $productTotalPay: Float, $orderPay_id: ID) {
|
|
|
|
|
+ deleteorder: delete_order(deliveryTime: $deliveryTime updatedAt: $updatedAt orderLogistics_id: $orderLogistics_id payTime: $payTime orderTotalPay: $orderTotalPay createdAt: $createdAt orderStatus: $orderStatus userAddress_id: $userAddress_id id: $id orderShipFee: $orderShipFee count: $count user_id: $user_id productTotalPay: $productTotalPay orderPay_id: $orderPay_id)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteadmin($id: ID, $openid: String, $username: String, $password: String, $telephone: String, $email: String, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ deleteadmin: delete_admin(id: $id openid: $openid username: $username password: $password telephone: $telephone email: $email createdAt: $createdAt updatedAt: $updatedAt)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updatespecificationStock($id: ID, $product_id: ID, $color: String, $size: String, $stock: Int, $status: String, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ updatespecificationStock: update_specificationStock(id: $id product_id: $product_id color: $color size: $size stock: $stock status: $status createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ color
|
|
|
|
|
+ size
|
|
|
|
|
+ stock
|
|
|
|
|
+ status
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteuserAddress($address: String, $updatedAt: String, $telephone: String, $default: Int, $city: String, $username: String, $postcode: String, $createdAt: String, $deletedAt: String, $id: ID, $user_id: ID, $area: String, $province: String) {
|
|
|
|
|
+ deleteuserAddress: delete_userAddress(address: $address updatedAt: $updatedAt telephone: $telephone
|
|
|
|
|
+ default: $default city: $city username: $username postcode: $postcode createdAt: $createdAt deletedAt: $deletedAt id: $id user_id: $user_id area: $area province: $province)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateuserCart($id: ID, $user_id: ID, $product_id: ID, $specificationStock_id: ID, $count: Int, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ updateuserCart: update_userCart(id: $id user_id: $user_id product_id: $product_id specificationStock_id: $specificationStock_id count: $count createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ specificationStock_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+ color
|
|
|
|
|
+ size
|
|
|
|
|
+ stock
|
|
|
|
|
+ status
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+ count
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteuser($email: String, $updatedAt: String, $password: String, $telephone: String, $username: String, $createdAt: String, $openid: String, $id: ID, $userData_id: ID) {
|
|
|
|
|
+ deleteuser: delete_user(email: $email updatedAt: $updatedAt password: $password telephone: $telephone username: $username createdAt: $createdAt openid: $openid id: $id userData_id: $userData_id)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createuserCart($id: ID!, $user_id: ID, $product_id: ID, $specificationStock_id: ID, $count: Int, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ createuserCart: create_userCart(id: $id user_id: $user_id product_id: $product_id specificationStock_id: $specificationStock_id count: $count createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ specificationStock_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+ color
|
|
|
|
|
+ size
|
|
|
|
|
+ stock
|
|
|
|
|
+ status
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+ count
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createuserData($id: ID!, $nickname: String, $avatar: String, $isVip: Boolean, $vipCode: String, $userPoint: Int, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ createuserData: create_userData(id: $id nickname: $nickname avatar: $avatar isVip: $isVip vipCode: $vipCode userPoint: $userPoint createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ nickname
|
|
|
|
|
+ avatar
|
|
|
|
|
+ isVip
|
|
|
|
|
+ vipCode
|
|
|
|
|
+ userPoint
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createorder($deliveryTime: String, $updatedAt: String, $orderLogistics_id: ID, $payTime: String, $orderTotalPay: Float, $createdAt: String, $orderStatus: String, $userAddress_id: ID, $id: ID!, $orderShipFee: Float, $count: Int, $user_id: ID, $productTotalPay: Float, $orderPay_id: ID) {
|
|
|
|
|
+ createorder: create_order(deliveryTime: $deliveryTime updatedAt: $updatedAt orderLogistics_id: $orderLogistics_id payTime: $payTime orderTotalPay: $orderTotalPay createdAt: $createdAt orderStatus: $orderStatus userAddress_id: $userAddress_id id: $id orderShipFee: $orderShipFee count: $count user_id: $user_id productTotalPay: $productTotalPay orderPay_id: $orderPay_id) {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ orderLogistics_id {
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ logisticsFee
|
|
|
|
|
+ expressId
|
|
|
|
|
+ createdAt
|
|
|
|
|
+
|
|
|
|
|
+ consigneeTel
|
|
|
|
|
+ id
|
|
|
|
|
+ consignAddress
|
|
|
|
|
+ LogisticsStatus
|
|
|
|
|
+
|
|
|
|
|
+ consigneeName
|
|
|
|
|
+ }
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+ userAddress_id {
|
|
|
|
|
+ address
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ telephone
|
|
|
|
|
+ default
|
|
|
|
|
+ city
|
|
|
|
|
+ username
|
|
|
|
|
+ postcode
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ deletedAt
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+ area
|
|
|
|
|
+ province
|
|
|
|
|
+ }
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ orderPay_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteuserSearch($id: ID, $user_id: ID, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ deleteuserSearch: delete_userSearch(id: $id user_id: $user_id createdAt: $createdAt updatedAt: $updatedAt)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteorderPay($id: ID, $user_id: ID, $order_id: ID, $totalPay: Float, $transactionId: String, $payTime: String) {
|
|
|
|
|
+ deleteorderPay: delete_orderPay(id: $id user_id: $user_id order_id: $order_id totalPay: $totalPay transactionId: $transactionId payTime: $payTime)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateorderPay($id: ID, $user_id: ID, $order_id: ID, $totalPay: Float, $transactionId: String, $payTime: String) {
|
|
|
|
|
+ updateorderPay: update_orderPay(id: $id user_id: $user_id order_id: $order_id totalPay: $totalPay transactionId: $transactionId payTime: $payTime) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteorderLogistics($updatedAt: String, $logisticsFee: Float, $expressId: String, $createdAt: String, $order_id: ID, $consigneeTel: String, $id: ID, $consignAddress: String, $LogisticsStatus: String, $user_id: ID, $consigneeName: String) {
|
|
|
|
|
+ deleteorderLogistics: delete_orderLogistics(updatedAt: $updatedAt logisticsFee: $logisticsFee expressId: $expressId createdAt: $createdAt order_id: $order_id consigneeTel: $consigneeTel id: $id consignAddress: $consignAddress LogisticsStatus: $LogisticsStatus user_id: $user_id consigneeName: $consigneeName)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateuserSearch($id: ID, $keyword: Int, $user_id: ID, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ updateuserSearch: update_userSearch(id: $id keyword: $keyword user_id: $user_id createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ keyword
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateorder($deliveryTime: String, $updatedAt: String, $orderLogistics_id: ID, $payTime: String, $orderTotalPay: Float, $createdAt: String, $orderStatus: String, $userAddress_id: ID, $id: ID, $orderShipFee: Float, $count: Int, $user_id: ID, $productTotalPay: Float, $orderPay_id: ID) {
|
|
|
|
|
+ updateorder: update_order(deliveryTime: $deliveryTime updatedAt: $updatedAt orderLogistics_id: $orderLogistics_id payTime: $payTime orderTotalPay: $orderTotalPay createdAt: $createdAt orderStatus: $orderStatus userAddress_id: $userAddress_id id: $id orderShipFee: $orderShipFee count: $count user_id: $user_id productTotalPay: $productTotalPay orderPay_id: $orderPay_id) {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ orderLogistics_id {
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ logisticsFee
|
|
|
|
|
+ expressId
|
|
|
|
|
+ createdAt
|
|
|
|
|
+
|
|
|
|
|
+ consigneeTel
|
|
|
|
|
+ id
|
|
|
|
|
+ consignAddress
|
|
|
|
|
+ LogisticsStatus
|
|
|
|
|
+
|
|
|
|
|
+ consigneeName
|
|
|
|
|
+ }
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+ userAddress_id {
|
|
|
|
|
+ address
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ telephone
|
|
|
|
|
+ default
|
|
|
|
|
+ city
|
|
|
|
|
+ username
|
|
|
|
|
+ postcode
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ deletedAt
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+ area
|
|
|
|
|
+ province
|
|
|
|
|
+ }
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ orderPay_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createorderLogistics($updatedAt: String, $logisticsFee: Float, $expressId: String, $createdAt: String, $order_id: ID, $consigneeTel: String, $id: ID!, $consignAddress: String, $LogisticsStatus: String, $user_id: ID, $consigneeName: String) {
|
|
|
|
|
+ createorderLogistics: create_orderLogistics(updatedAt: $updatedAt logisticsFee: $logisticsFee expressId: $expressId createdAt: $createdAt order_id: $order_id consigneeTel: $consigneeTel id: $id consignAddress: $consignAddress LogisticsStatus: $LogisticsStatus user_id: $user_id consigneeName: $consigneeName) {
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ logisticsFee
|
|
|
|
|
+ expressId
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ consigneeTel
|
|
|
|
|
+ id
|
|
|
|
|
+ consignAddress
|
|
|
|
|
+ LogisticsStatus
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ consigneeName
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateorderLogistics($updatedAt: String, $logisticsFee: Float, $expressId: String, $createdAt: String, $order_id: ID, $consigneeTel: String, $id: ID, $consignAddress: String, $LogisticsStatus: String, $user_id: ID, $consigneeName: String) {
|
|
|
|
|
+ updateorderLogistics: update_orderLogistics(updatedAt: $updatedAt logisticsFee: $logisticsFee expressId: $expressId createdAt: $createdAt order_id: $order_id consigneeTel: $consigneeTel id: $id consignAddress: $consignAddress LogisticsStatus: $LogisticsStatus user_id: $user_id consigneeName: $consigneeName) {
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ logisticsFee
|
|
|
|
|
+ expressId
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ consigneeTel
|
|
|
|
|
+ id
|
|
|
|
|
+ consignAddress
|
|
|
|
|
+ LogisticsStatus
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ consigneeName
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createorderProduct($remark: String, $updatedAt: String, $productColor: String, $unit: String, $product_id: ID, $productSize: String, $orderPay: Float, $createdAt: String, $productImg: String, $productName: String, $order_id: ID, $productPrice: Float, $id: ID!, $count: Int, $productPay: Float, $user_id: ID, $orderPay_id: ID) {
|
|
|
|
|
+ createorderProduct: create_orderProduct(remark: $remark updatedAt: $updatedAt productColor: $productColor unit: $unit product_id: $product_id productSize: $productSize orderPay: $orderPay createdAt: $createdAt productImg: $productImg productName: $productName order_id: $order_id productPrice: $productPrice id: $id count: $count productPay: $productPay user_id: $user_id orderPay_id: $orderPay_id) {
|
|
|
|
|
+ remark
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ productColor
|
|
|
|
|
+ unit
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ productSize
|
|
|
|
|
+ orderPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ productImg
|
|
|
|
|
+ productName
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ productPrice
|
|
|
|
|
+ id
|
|
|
|
|
+ count
|
|
|
|
|
+ productPay
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ orderPay_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation deleteproduct($category: String, $updatedAt: String, $unit: String, $name: String, $createdAt: String, $status: String, $id: ID, $intro: String, $price: Float, $img: String, $stock: Int) {
|
|
|
|
|
+ deleteproduct: delete_product(category: $category updatedAt: $updatedAt unit: $unit name: $name createdAt: $createdAt status: $status id: $id intro: $intro price: $price img: $img stock: $stock)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation updateorderProduct($remark: String, $updatedAt: String, $productColor: String, $unit: String, $product_id: ID, $productSize: String, $orderPay: Float, $createdAt: String, $productImg: String, $productName: String, $order_id: ID, $productPrice: Float, $id: ID, $count: Int, $productPay: Float, $user_id: ID, $orderPay_id: ID) {
|
|
|
|
|
+ updateorderProduct: update_orderProduct(remark: $remark updatedAt: $updatedAt productColor: $productColor unit: $unit product_id: $product_id productSize: $productSize orderPay: $orderPay createdAt: $createdAt productImg: $productImg productName: $productName order_id: $order_id productPrice: $productPrice id: $id count: $count productPay: $productPay user_id: $user_id orderPay_id: $orderPay_id) {
|
|
|
|
|
+ remark
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ productColor
|
|
|
|
|
+ unit
|
|
|
|
|
+ product_id {
|
|
|
|
|
+ category
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ unit
|
|
|
|
|
+ name
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ status
|
|
|
|
|
+ id
|
|
|
|
|
+ intro
|
|
|
|
|
+ price
|
|
|
|
|
+ img
|
|
|
|
|
+ stock
|
|
|
|
|
+ }
|
|
|
|
|
+ productSize
|
|
|
|
|
+ orderPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ productImg
|
|
|
|
|
+ productName
|
|
|
|
|
+ order_id {
|
|
|
|
|
+ deliveryTime
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+
|
|
|
|
|
+ payTime
|
|
|
|
|
+ orderTotalPay
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ orderStatus
|
|
|
|
|
+
|
|
|
|
|
+ id
|
|
|
|
|
+ orderShipFee
|
|
|
|
|
+ count
|
|
|
|
|
+
|
|
|
|
|
+ productTotalPay
|
|
|
|
|
+ }
|
|
|
|
|
+ productPrice
|
|
|
|
|
+ id
|
|
|
|
|
+ count
|
|
|
|
|
+ productPay
|
|
|
|
|
+ user_id {
|
|
|
|
|
+ email
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ username
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ openid
|
|
|
|
|
+ id
|
|
|
|
|
+ }
|
|
|
|
|
+ orderPay_id {
|
|
|
|
|
+ id
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ totalPay
|
|
|
|
|
+ transactionId
|
|
|
|
|
+ payTime
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+mutation createadmin($id: ID!, $openid: String, $username: String, $password: String, $telephone: String, $email: String, $createdAt: String, $updatedAt: String) {
|
|
|
|
|
+ createadmin: create_admin(id: $id openid: $openid username: $username password: $password telephone: $telephone email: $email createdAt: $createdAt updatedAt: $updatedAt) {
|
|
|
|
|
+ id
|
|
|
|
|
+ openid
|
|
|
|
|
+ username
|
|
|
|
|
+ password
|
|
|
|
|
+ telephone
|
|
|
|
|
+ email
|
|
|
|
|
+ createdAt
|
|
|
|
|
+ updatedAt
|
|
|
|
|
+ }
|
|
|
|
|
+}
|