graphql-all 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475
  1. query userbyid($id: ID) {
  2. userbyid: user_by_id(id: $id) {
  3. email
  4. updatedAt
  5. password
  6. telephone
  7. username
  8. createdAt
  9. openid
  10. id
  11. userData_id {
  12. id
  13. nickname
  14. avatar
  15. isVip
  16. vipCode
  17. userPoint
  18. createdAt
  19. updatedAt
  20. }
  21. }
  22. }
  23. query adminbyid($id: ID) {
  24. adminbyid: admin_by_id(id: $id) {
  25. id
  26. openid
  27. username
  28. password
  29. telephone
  30. email
  31. createdAt
  32. updatedAt
  33. }
  34. }
  35. query orderPaybyprops($user_id: ID, $order_id: ID, $totalPay: Float, $transactionId: String, $payTime: String) {
  36. orderPaybyprops: orderPay_by_props(user_id: $user_id order_id: $order_id totalPay: $totalPay transactionId: $transactionId payTime: $payTime) {
  37. id
  38. user_id {
  39. email
  40. updatedAt
  41. password
  42. telephone
  43. username
  44. createdAt
  45. openid
  46. id
  47. }
  48. order_id {
  49. deliveryTime
  50. updatedAt
  51. payTime
  52. orderTotalPay
  53. createdAt
  54. orderStatus
  55. id
  56. orderShipFee
  57. count
  58. productTotalPay
  59. }
  60. totalPay
  61. transactionId
  62. payTime
  63. }
  64. }
  65. query userCartbyid($id: ID) {
  66. userCartbyid: userCart_by_id(id: $id) {
  67. id
  68. user_id {
  69. email
  70. updatedAt
  71. password
  72. telephone
  73. username
  74. createdAt
  75. openid
  76. id
  77. }
  78. product_id {
  79. category
  80. updatedAt
  81. unit
  82. name
  83. createdAt
  84. status
  85. id
  86. intro
  87. price
  88. img
  89. stock
  90. }
  91. count
  92. createdAt
  93. updatedAt
  94. }
  95. }
  96. query userDatabyid($id: ID) {
  97. userDatabyid: userData_by_id(id: $id) {
  98. id
  99. nickname
  100. avatar
  101. isVip
  102. vipCode
  103. userPoint
  104. createdAt
  105. updatedAt
  106. }
  107. }
  108. query adminbyprops($openid: String, $username: String, $password: String, $telephone: String, $email: String, $createdAt: String, $updatedAt: String) {
  109. adminbyprops: admin_by_props(openid: $openid username: $username password: $password telephone: $telephone email: $email createdAt: $createdAt updatedAt: $updatedAt) {
  110. id
  111. openid
  112. username
  113. password
  114. telephone
  115. email
  116. createdAt
  117. updatedAt
  118. }
  119. }
  120. query userSearchbyprops($user_id: ID, $keyword: Int, $createdAt: String, $updatedAt: String) {
  121. userSearchbyprops: userSearch_by_props(user_id: $user_id keyword: $keyword createdAt: $createdAt updatedAt: $updatedAt) {
  122. id
  123. user_id {
  124. email
  125. updatedAt
  126. password
  127. telephone
  128. username
  129. createdAt
  130. openid
  131. id
  132. }
  133. keyword
  134. createdAt
  135. updatedAt
  136. }
  137. }
  138. query userCollectbyprops($user_id: ID, $product_id: ID, $createdAt: String, $updatedAt: String) {
  139. userCollectbyprops: userCollect_by_props(user_id: $user_id product_id: $product_id createdAt: $createdAt updatedAt: $updatedAt) {
  140. id
  141. user_id {
  142. email
  143. updatedAt
  144. password
  145. telephone
  146. username
  147. createdAt
  148. openid
  149. id
  150. }
  151. product_id {
  152. category
  153. updatedAt
  154. unit
  155. name
  156. createdAt
  157. status
  158. id
  159. intro
  160. price
  161. img
  162. stock
  163. }
  164. createdAt
  165. updatedAt
  166. }
  167. }
  168. query productbyprops($category: String, $updatedAt: String, $name: String, $createdAt: String, $status: String, $intro: String, $price: Float, $img: String, $stock: Int) {
  169. productbyprops: product_by_props(category: $category updatedAt: $updatedAt name: $name createdAt: $createdAt status: $status intro: $intro price: $price img: $img stock: $stock) {
  170. category
  171. updatedAt
  172. unit
  173. name
  174. createdAt
  175. status
  176. id
  177. intro
  178. price
  179. img
  180. stock
  181. }
  182. }
  183. query orderLogisticsbyid($id: ID) {
  184. orderLogisticsbyid: orderLogistics_by_id(id: $id) {
  185. updatedAt
  186. logisticsFee
  187. expressId
  188. createdAt
  189. order_id {
  190. deliveryTime
  191. updatedAt
  192. payTime
  193. orderTotalPay
  194. createdAt
  195. orderStatus
  196. id
  197. orderShipFee
  198. count
  199. productTotalPay
  200. }
  201. consigneeTel
  202. id
  203. consignAddress
  204. LogisticsStatus
  205. user_id {
  206. email
  207. updatedAt
  208. password
  209. telephone
  210. username
  211. createdAt
  212. openid
  213. id
  214. }
  215. consigneeName
  216. }
  217. }
  218. query orderProductbyid($id: ID) {
  219. orderProductbyid: orderProduct_by_id(id: $id) {
  220. remark
  221. updatedAt
  222. unit
  223. product_id {
  224. category
  225. updatedAt
  226. unit
  227. name
  228. createdAt
  229. status
  230. id
  231. intro
  232. price
  233. img
  234. stock
  235. }
  236. orderPay
  237. createdAt
  238. order_id {
  239. deliveryTime
  240. updatedAt
  241. payTime
  242. orderTotalPay
  243. createdAt
  244. orderStatus
  245. id
  246. orderShipFee
  247. count
  248. productTotalPay
  249. }
  250. id
  251. count
  252. productPay
  253. user_id {
  254. email
  255. updatedAt
  256. password
  257. telephone
  258. username
  259. createdAt
  260. openid
  261. id
  262. }
  263. }
  264. }
  265. query userCollectbyid($id: ID) {
  266. userCollectbyid: userCollect_by_id(id: $id) {
  267. id
  268. user_id {
  269. email
  270. updatedAt
  271. password
  272. telephone
  273. username
  274. createdAt
  275. openid
  276. id
  277. }
  278. product_id {
  279. category
  280. updatedAt
  281. unit
  282. name
  283. createdAt
  284. status
  285. id
  286. intro
  287. price
  288. img
  289. stock
  290. }
  291. createdAt
  292. updatedAt
  293. }
  294. }
  295. 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) {
  296. userAddressbyprops: userAddress_by_props(address: $address updatedAt: $updatedAt telephone: $telephone
  297. default: $default city: $city username: $username postcode: $postcode createdAt: $createdAt deletedAt: $deletedAt user_id: $user_id area: $area province: $province) {
  298. address
  299. updatedAt
  300. telephone
  301. default
  302. city
  303. username
  304. postcode
  305. createdAt
  306. deletedAt
  307. id
  308. user_id {
  309. email
  310. updatedAt
  311. password
  312. telephone
  313. username
  314. createdAt
  315. openid
  316. id
  317. }
  318. area
  319. province
  320. }
  321. }
  322. query orderPaybyid($id: ID) {
  323. orderPaybyid: orderPay_by_id(id: $id) {
  324. id
  325. user_id {
  326. email
  327. updatedAt
  328. password
  329. telephone
  330. username
  331. createdAt
  332. openid
  333. id
  334. }
  335. order_id {
  336. deliveryTime
  337. updatedAt
  338. payTime
  339. orderTotalPay
  340. createdAt
  341. orderStatus
  342. id
  343. orderShipFee
  344. count
  345. productTotalPay
  346. }
  347. totalPay
  348. transactionId
  349. payTime
  350. }
  351. }
  352. query userAddressbyid($id: ID) {
  353. userAddressbyid: userAddress_by_id(id: $id) {
  354. address
  355. updatedAt
  356. telephone
  357. default
  358. city
  359. username
  360. postcode
  361. createdAt
  362. deletedAt
  363. id
  364. area
  365. province
  366. }
  367. }
  368. query orderLogisticsbyprops($updatedAt: String, $logisticsFee: Float, $expressId: String, $createdAt: String, $order_id: ID, $consigneeTel: String, $consignAddress: String, $LogisticsStatus: String, $user_id: ID, $consigneeName: String) {
  369. 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) {
  370. updatedAt
  371. logisticsFee
  372. expressId
  373. createdAt
  374. order_id {
  375. deliveryTime
  376. updatedAt
  377. payTime
  378. orderTotalPay
  379. createdAt
  380. orderStatus
  381. id
  382. orderShipFee
  383. count
  384. productTotalPay
  385. }
  386. consigneeTel
  387. id
  388. consignAddress
  389. LogisticsStatus
  390. user_id {
  391. email
  392. updatedAt
  393. password
  394. telephone
  395. username
  396. createdAt
  397. openid
  398. id
  399. }
  400. consigneeName
  401. }
  402. }
  403. query orderbyid($id: ID) {
  404. orderbyid: order_by_id(id: $id) {
  405. deliveryTime
  406. updatedAt
  407. orderLogistics_id {
  408. updatedAt
  409. logisticsFee
  410. expressId
  411. createdAt
  412. consigneeTel
  413. id
  414. consignAddress
  415. LogisticsStatus
  416. consigneeName
  417. }
  418. payTime
  419. orderTotalPay
  420. createdAt
  421. orderStatus
  422. userAddress_id {
  423. address
  424. updatedAt
  425. telephone
  426. default
  427. city
  428. username
  429. postcode
  430. createdAt
  431. deletedAt
  432. id
  433. area
  434. province
  435. }
  436. id
  437. orderShipFee
  438. count
  439. user_id {
  440. email
  441. updatedAt
  442. password
  443. telephone
  444. username
  445. createdAt
  446. openid
  447. id
  448. }
  449. productTotalPay
  450. orderPay_id {
  451. id
  452. totalPay
  453. transactionId
  454. payTime
  455. }
  456. }
  457. }
  458. query orderProductbyprops($remark: String, $updatedAt: String, $product_id: ID, $orderPay: Float, $createdAt: String, $order_id: ID, $count: Int, $productPay: Float, $user_id: ID) {
  459. orderProductbyprops: orderProduct_by_props(remark: $remark updatedAt: $updatedAt product_id: $product_id orderPay: $orderPay createdAt: $createdAt order_id: $order_id count: $count productPay: $productPay user_id: $user_id) {
  460. remark
  461. updatedAt
  462. unit
  463. product_id {
  464. category
  465. updatedAt
  466. unit
  467. name
  468. createdAt
  469. status
  470. id
  471. intro
  472. price
  473. img
  474. stock
  475. }
  476. orderPay
  477. createdAt
  478. order_id {
  479. deliveryTime
  480. updatedAt
  481. payTime
  482. orderTotalPay
  483. createdAt
  484. orderStatus
  485. id
  486. orderShipFee
  487. count
  488. productTotalPay
  489. }
  490. id
  491. count
  492. productPay
  493. user_id {
  494. email
  495. updatedAt
  496. password
  497. telephone
  498. username
  499. createdAt
  500. openid
  501. id
  502. }
  503. }
  504. }
  505. query productbyid($id: ID) {
  506. productbyid: product_by_id(id: $id) {
  507. category
  508. updatedAt
  509. unit
  510. name
  511. createdAt
  512. status
  513. id
  514. intro
  515. price
  516. img
  517. stock
  518. }
  519. }
  520. query userSearchbyid($id: ID) {
  521. userSearchbyid: userSearch_by_id(id: $id) {
  522. id
  523. user_id {
  524. email
  525. updatedAt
  526. password
  527. telephone
  528. username
  529. createdAt
  530. openid
  531. id
  532. }
  533. keyword
  534. createdAt
  535. updatedAt
  536. }
  537. }
  538. query userDatabyprops($nickname: String, $avatar: String, $isVip: Boolean, $vipCode: String, $userPoint: Int, $createdAt: String, $updatedAt: String) {
  539. userDatabyprops: userData_by_props(nickname: $nickname avatar: $avatar isVip: $isVip vipCode: $vipCode userPoint: $userPoint createdAt: $createdAt updatedAt: $updatedAt) {
  540. id
  541. nickname
  542. avatar
  543. isVip
  544. vipCode
  545. userPoint
  546. createdAt
  547. updatedAt
  548. }
  549. }
  550. query userCartbyprops($user_id: ID, $product_id: ID, $count: Int, $createdAt: String, $updatedAt: String) {
  551. userCartbyprops: userCart_by_props(user_id: $user_id product_id: $product_id count: $count createdAt: $createdAt updatedAt: $updatedAt) {
  552. id
  553. user_id {
  554. email
  555. updatedAt
  556. password
  557. telephone
  558. username
  559. createdAt
  560. openid
  561. id
  562. }
  563. product_id {
  564. category
  565. updatedAt
  566. unit
  567. name
  568. createdAt
  569. status
  570. id
  571. intro
  572. price
  573. img
  574. stock
  575. }
  576. count
  577. createdAt
  578. updatedAt
  579. }
  580. }
  581. query userbyprops($openid: String, $username: String, $password: String, $telephone: String, $email: String, $userData_id: ID, $createdAt: String, $updatedAt: String) {
  582. userbyprops: user_by_props(openid: $openid username: $username password: $password telephone: $telephone email: $email userData_id: $userData_id createdAt: $createdAt updatedAt: $updatedAt) {
  583. email
  584. updatedAt
  585. password
  586. telephone
  587. username
  588. createdAt
  589. openid
  590. id
  591. userData_id {
  592. id
  593. nickname
  594. avatar
  595. isVip
  596. vipCode
  597. userPoint
  598. createdAt
  599. updatedAt
  600. }
  601. }
  602. }
  603. 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) {
  604. 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) {
  605. deliveryTime
  606. updatedAt
  607. orderLogistics_id {
  608. updatedAt
  609. logisticsFee
  610. expressId
  611. createdAt
  612. consigneeTel
  613. id
  614. consignAddress
  615. LogisticsStatus
  616. consigneeName
  617. }
  618. payTime
  619. orderTotalPay
  620. createdAt
  621. orderStatus
  622. userAddress_id {
  623. address
  624. updatedAt
  625. telephone
  626. default
  627. city
  628. username
  629. postcode
  630. createdAt
  631. deletedAt
  632. id
  633. area
  634. province
  635. }
  636. id
  637. orderShipFee
  638. count
  639. user_id {
  640. email
  641. updatedAt
  642. password
  643. telephone
  644. username
  645. createdAt
  646. openid
  647. id
  648. }
  649. productTotalPay
  650. orderPay_id {
  651. id
  652. totalPay
  653. transactionId
  654. payTime
  655. }
  656. }
  657. }
  658. mutation createorderPay($id: ID!, $user_id: ID, $order_id: ID, $totalPay: Float, $transactionId: String, $payTime: String) {
  659. createorderPay: create_orderPay(id: $id user_id: $user_id order_id: $order_id totalPay: $totalPay transactionId: $transactionId payTime: $payTime) {
  660. id
  661. user_id {
  662. email
  663. updatedAt
  664. password
  665. telephone
  666. username
  667. createdAt
  668. openid
  669. id
  670. }
  671. order_id {
  672. deliveryTime
  673. updatedAt
  674. payTime
  675. orderTotalPay
  676. createdAt
  677. orderStatus
  678. id
  679. orderShipFee
  680. count
  681. productTotalPay
  682. }
  683. totalPay
  684. transactionId
  685. payTime
  686. }
  687. }
  688. mutation createuser($email: String, $updatedAt: String, $password: String, $telephone: String, $username: String, $createdAt: String, $openid: String, $id: ID!, $userData_id: ID) {
  689. createuser: create_user(email: $email updatedAt: $updatedAt password: $password telephone: $telephone username: $username createdAt: $createdAt openid: $openid id: $id userData_id: $userData_id) {
  690. email
  691. updatedAt
  692. password
  693. telephone
  694. username
  695. createdAt
  696. openid
  697. id
  698. userData_id {
  699. id
  700. nickname
  701. avatar
  702. isVip
  703. vipCode
  704. userPoint
  705. createdAt
  706. updatedAt
  707. }
  708. }
  709. }
  710. mutation updateproduct($category: String, $updatedAt: String, $unit: Int, $name: String, $createdAt: String, $status: String, $id: ID, $intro: String, $price: Float, $img: String, $stock: Int) {
  711. 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) {
  712. category
  713. updatedAt
  714. unit
  715. name
  716. createdAt
  717. status
  718. id
  719. intro
  720. price
  721. img
  722. stock
  723. }
  724. }
  725. mutation updateuser($email: String, $updatedAt: String, $password: String, $telephone: String, $username: String, $createdAt: String, $openid: String, $id: ID, $userData_id: ID) {
  726. updateuser: update_user(email: $email updatedAt: $updatedAt password: $password telephone: $telephone username: $username createdAt: $createdAt openid: $openid id: $id userData_id: $userData_id) {
  727. email
  728. updatedAt
  729. password
  730. telephone
  731. username
  732. createdAt
  733. openid
  734. id
  735. userData_id {
  736. id
  737. nickname
  738. avatar
  739. isVip
  740. vipCode
  741. userPoint
  742. createdAt
  743. updatedAt
  744. }
  745. }
  746. }
  747. mutation updateuserData($id: ID, $nickname: String, $avatar: String, $isVip: Boolean, $vipCode: String, $userPoint: Int, $createdAt: String, $updatedAt: String) {
  748. updateuserData: update_userData(id: $id nickname: $nickname avatar: $avatar isVip: $isVip vipCode: $vipCode userPoint: $userPoint createdAt: $createdAt updatedAt: $updatedAt) {
  749. id
  750. nickname
  751. avatar
  752. isVip
  753. vipCode
  754. userPoint
  755. createdAt
  756. updatedAt
  757. }
  758. }
  759. mutation createuserCollect($id: ID!, $user_id: ID, $product_id: ID, $createdAt: String, $updatedAt: String) {
  760. createuserCollect: create_userCollect(id: $id user_id: $user_id product_id: $product_id createdAt: $createdAt updatedAt: $updatedAt) {
  761. id
  762. user_id {
  763. email
  764. updatedAt
  765. password
  766. telephone
  767. username
  768. createdAt
  769. openid
  770. id
  771. }
  772. product_id {
  773. category
  774. updatedAt
  775. unit
  776. name
  777. createdAt
  778. status
  779. id
  780. intro
  781. price
  782. img
  783. stock
  784. }
  785. createdAt
  786. updatedAt
  787. }
  788. }
  789. 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) {
  790. createuserAddress: create_userAddress(address: $address updatedAt: $updatedAt telephone: $telephone
  791. default: $default city: $city username: $username postcode: $postcode createdAt: $createdAt deletedAt: $deletedAt id: $id user_id: $user_id area: $area province: $province) {
  792. address
  793. updatedAt
  794. telephone
  795. default
  796. city
  797. username
  798. postcode
  799. createdAt
  800. deletedAt
  801. id
  802. user_id {
  803. email
  804. updatedAt
  805. password
  806. telephone
  807. username
  808. createdAt
  809. openid
  810. id
  811. }
  812. area
  813. province
  814. }
  815. }
  816. mutation deleteuserCart($id: ID, $user_id: ID, $product_id: ID, $count: Int, $createdAt: String, $updatedAt: String) {
  817. deleteuserCart: delete_userCart(id: $id user_id: $user_id product_id: $product_id count: $count createdAt: $createdAt updatedAt: $updatedAt)
  818. }
  819. 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) {
  820. updateuserAddress: update_userAddress(address: $address updatedAt: $updatedAt telephone: $telephone
  821. default: $default city: $city username: $username postcode: $postcode createdAt: $createdAt deletedAt: $deletedAt id: $id user_id: $user_id area: $area province: $province) {
  822. address
  823. updatedAt
  824. telephone
  825. default
  826. city
  827. username
  828. postcode
  829. createdAt
  830. deletedAt
  831. id
  832. user_id {
  833. email
  834. updatedAt
  835. password
  836. telephone
  837. username
  838. createdAt
  839. openid
  840. id
  841. }
  842. area
  843. province
  844. }
  845. }
  846. mutation updateadmin($id: ID, $openid: String, $username: String, $password: String, $telephone: String, $email: String, $createdAt: String, $updatedAt: String) {
  847. updateadmin: update_admin(id: $id openid: $openid username: $username password: $password telephone: $telephone email: $email createdAt: $createdAt updatedAt: $updatedAt) {
  848. id
  849. openid
  850. username
  851. password
  852. telephone
  853. email
  854. createdAt
  855. updatedAt
  856. }
  857. }
  858. mutation createuserSearch($id: ID!, $user_id: ID, $keyword: Int, $createdAt: String, $updatedAt: String) {
  859. createuserSearch: create_userSearch(id: $id user_id: $user_id keyword: $keyword createdAt: $createdAt updatedAt: $updatedAt) {
  860. id
  861. user_id {
  862. email
  863. updatedAt
  864. password
  865. telephone
  866. username
  867. createdAt
  868. openid
  869. id
  870. }
  871. keyword
  872. createdAt
  873. updatedAt
  874. }
  875. }
  876. mutation createproduct($category: String, $updatedAt: String, $unit: Int, $name: String, $createdAt: String, $status: String, $id: ID!, $intro: String, $price: Float, $img: String, $stock: Int) {
  877. 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) {
  878. category
  879. updatedAt
  880. unit
  881. name
  882. createdAt
  883. status
  884. id
  885. intro
  886. price
  887. img
  888. stock
  889. }
  890. }
  891. mutation deleteuserData($id: ID, $nickname: String, $avatar: String, $isVip: Boolean, $vipCode: String, $userPoint: Int, $createdAt: String, $updatedAt: String) {
  892. deleteuserData: delete_userData(id: $id nickname: $nickname avatar: $avatar isVip: $isVip vipCode: $vipCode userPoint: $userPoint createdAt: $createdAt updatedAt: $updatedAt)
  893. }
  894. mutation deleteorderProduct($remark: String, $updatedAt: String, $product_id: ID, $orderPay: Float, $createdAt: String, $order_id: ID, $id: ID, $count: Int, $productPay: Float, $user_id: ID) {
  895. deleteorderProduct: delete_orderProduct(remark: $remark updatedAt: $updatedAt product_id: $product_id orderPay: $orderPay createdAt: $createdAt order_id: $order_id id: $id count: $count productPay: $productPay user_id: $user_id)
  896. }
  897. mutation deleteuserCollect($id: ID, $user_id: ID, $product_id: ID, $createdAt: String, $updatedAt: String) {
  898. deleteuserCollect: delete_userCollect(id: $id user_id: $user_id product_id: $product_id createdAt: $createdAt updatedAt: $updatedAt)
  899. }
  900. mutation updateuserCollect($id: ID, $user_id: ID, $product_id: ID, $createdAt: String, $updatedAt: String) {
  901. updateuserCollect: update_userCollect(id: $id user_id: $user_id product_id: $product_id createdAt: $createdAt updatedAt: $updatedAt) {
  902. id
  903. user_id {
  904. email
  905. updatedAt
  906. password
  907. telephone
  908. username
  909. createdAt
  910. openid
  911. id
  912. }
  913. product_id {
  914. category
  915. updatedAt
  916. unit
  917. name
  918. createdAt
  919. status
  920. id
  921. intro
  922. price
  923. img
  924. stock
  925. }
  926. createdAt
  927. updatedAt
  928. }
  929. }
  930. 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) {
  931. 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)
  932. }
  933. mutation deleteadmin($id: ID, $openid: String, $username: String, $password: String, $telephone: String, $email: String, $createdAt: String, $updatedAt: String) {
  934. deleteadmin: delete_admin(id: $id openid: $openid username: $username password: $password telephone: $telephone email: $email createdAt: $createdAt updatedAt: $updatedAt)
  935. }
  936. 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) {
  937. deleteuserAddress: delete_userAddress(address: $address updatedAt: $updatedAt telephone: $telephone
  938. default: $default city: $city username: $username postcode: $postcode createdAt: $createdAt deletedAt: $deletedAt id: $id user_id: $user_id area: $area province: $province)
  939. }
  940. mutation updateuserCart($id: ID, $user_id: ID, $product_id: ID, $count: Int, $createdAt: String, $updatedAt: String) {
  941. updateuserCart: update_userCart(id: $id user_id: $user_id product_id: $product_id count: $count createdAt: $createdAt updatedAt: $updatedAt) {
  942. id
  943. user_id {
  944. email
  945. updatedAt
  946. password
  947. telephone
  948. username
  949. createdAt
  950. openid
  951. id
  952. }
  953. product_id {
  954. category
  955. updatedAt
  956. unit
  957. name
  958. createdAt
  959. status
  960. id
  961. intro
  962. price
  963. img
  964. stock
  965. }
  966. count
  967. createdAt
  968. updatedAt
  969. }
  970. }
  971. mutation deleteuser($email: String, $updatedAt: String, $password: String, $telephone: String, $username: String, $createdAt: String, $openid: String, $id: ID, $userData_id: ID) {
  972. deleteuser: delete_user(email: $email updatedAt: $updatedAt password: $password telephone: $telephone username: $username createdAt: $createdAt openid: $openid id: $id userData_id: $userData_id)
  973. }
  974. mutation createuserCart($id: ID!, $user_id: ID, $product_id: ID, $count: Int, $createdAt: String, $updatedAt: String) {
  975. createuserCart: create_userCart(id: $id user_id: $user_id product_id: $product_id count: $count createdAt: $createdAt updatedAt: $updatedAt) {
  976. id
  977. user_id {
  978. email
  979. updatedAt
  980. password
  981. telephone
  982. username
  983. createdAt
  984. openid
  985. id
  986. }
  987. product_id {
  988. category
  989. updatedAt
  990. unit
  991. name
  992. createdAt
  993. status
  994. id
  995. intro
  996. price
  997. img
  998. stock
  999. }
  1000. count
  1001. createdAt
  1002. updatedAt
  1003. }
  1004. }
  1005. mutation createuserData($id: ID!, $nickname: String, $avatar: String, $isVip: Boolean, $vipCode: String, $userPoint: Int, $createdAt: String, $updatedAt: String) {
  1006. createuserData: create_userData(id: $id nickname: $nickname avatar: $avatar isVip: $isVip vipCode: $vipCode userPoint: $userPoint createdAt: $createdAt updatedAt: $updatedAt) {
  1007. id
  1008. nickname
  1009. avatar
  1010. isVip
  1011. vipCode
  1012. userPoint
  1013. createdAt
  1014. updatedAt
  1015. }
  1016. }
  1017. 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) {
  1018. 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) {
  1019. deliveryTime
  1020. updatedAt
  1021. orderLogistics_id {
  1022. updatedAt
  1023. logisticsFee
  1024. expressId
  1025. createdAt
  1026. consigneeTel
  1027. id
  1028. consignAddress
  1029. LogisticsStatus
  1030. consigneeName
  1031. }
  1032. payTime
  1033. orderTotalPay
  1034. createdAt
  1035. orderStatus
  1036. userAddress_id {
  1037. address
  1038. updatedAt
  1039. telephone
  1040. default
  1041. city
  1042. username
  1043. postcode
  1044. createdAt
  1045. deletedAt
  1046. id
  1047. area
  1048. province
  1049. }
  1050. id
  1051. orderShipFee
  1052. count
  1053. user_id {
  1054. email
  1055. updatedAt
  1056. password
  1057. telephone
  1058. username
  1059. createdAt
  1060. openid
  1061. id
  1062. }
  1063. productTotalPay
  1064. orderPay_id {
  1065. id
  1066. totalPay
  1067. transactionId
  1068. payTime
  1069. }
  1070. }
  1071. }
  1072. mutation deleteuserSearch($id: ID, $user_id: ID, $keyword: Int, $createdAt: String, $updatedAt: String) {
  1073. deleteuserSearch: delete_userSearch(id: $id user_id: $user_id keyword: $keyword createdAt: $createdAt updatedAt: $updatedAt)
  1074. }
  1075. mutation deleteorderPay($id: ID, $user_id: ID, $order_id: ID, $totalPay: Float, $transactionId: String, $payTime: String) {
  1076. deleteorderPay: delete_orderPay(id: $id user_id: $user_id order_id: $order_id totalPay: $totalPay transactionId: $transactionId payTime: $payTime)
  1077. }
  1078. mutation updateorderPay($id: ID, $user_id: ID, $order_id: ID, $totalPay: Float, $transactionId: String, $payTime: String) {
  1079. updateorderPay: update_orderPay(id: $id user_id: $user_id order_id: $order_id totalPay: $totalPay transactionId: $transactionId payTime: $payTime) {
  1080. id
  1081. user_id {
  1082. email
  1083. updatedAt
  1084. password
  1085. telephone
  1086. username
  1087. createdAt
  1088. openid
  1089. id
  1090. }
  1091. order_id {
  1092. deliveryTime
  1093. updatedAt
  1094. payTime
  1095. orderTotalPay
  1096. createdAt
  1097. orderStatus
  1098. id
  1099. orderShipFee
  1100. count
  1101. productTotalPay
  1102. }
  1103. totalPay
  1104. transactionId
  1105. payTime
  1106. }
  1107. }
  1108. 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) {
  1109. 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)
  1110. }
  1111. mutation updateuserSearch($id: ID, $user_id: ID, $keyword: Int, $createdAt: String, $updatedAt: String) {
  1112. updateuserSearch: update_userSearch(id: $id user_id: $user_id keyword: $keyword createdAt: $createdAt updatedAt: $updatedAt) {
  1113. id
  1114. user_id {
  1115. email
  1116. updatedAt
  1117. password
  1118. telephone
  1119. username
  1120. createdAt
  1121. openid
  1122. id
  1123. }
  1124. keyword
  1125. createdAt
  1126. updatedAt
  1127. }
  1128. }
  1129. 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) {
  1130. 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) {
  1131. deliveryTime
  1132. updatedAt
  1133. orderLogistics_id {
  1134. updatedAt
  1135. logisticsFee
  1136. expressId
  1137. createdAt
  1138. consigneeTel
  1139. id
  1140. consignAddress
  1141. LogisticsStatus
  1142. consigneeName
  1143. }
  1144. payTime
  1145. orderTotalPay
  1146. createdAt
  1147. orderStatus
  1148. userAddress_id {
  1149. address
  1150. updatedAt
  1151. telephone
  1152. default
  1153. city
  1154. username
  1155. postcode
  1156. createdAt
  1157. deletedAt
  1158. id
  1159. area
  1160. province
  1161. }
  1162. id
  1163. orderShipFee
  1164. count
  1165. user_id {
  1166. email
  1167. updatedAt
  1168. password
  1169. telephone
  1170. username
  1171. createdAt
  1172. openid
  1173. id
  1174. }
  1175. productTotalPay
  1176. orderPay_id {
  1177. id
  1178. totalPay
  1179. transactionId
  1180. payTime
  1181. }
  1182. }
  1183. }
  1184. 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) {
  1185. 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) {
  1186. updatedAt
  1187. logisticsFee
  1188. expressId
  1189. createdAt
  1190. order_id {
  1191. deliveryTime
  1192. updatedAt
  1193. payTime
  1194. orderTotalPay
  1195. createdAt
  1196. orderStatus
  1197. id
  1198. orderShipFee
  1199. count
  1200. productTotalPay
  1201. }
  1202. consigneeTel
  1203. id
  1204. consignAddress
  1205. LogisticsStatus
  1206. user_id {
  1207. email
  1208. updatedAt
  1209. password
  1210. telephone
  1211. username
  1212. createdAt
  1213. openid
  1214. id
  1215. }
  1216. consigneeName
  1217. }
  1218. }
  1219. 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) {
  1220. 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) {
  1221. updatedAt
  1222. logisticsFee
  1223. expressId
  1224. createdAt
  1225. order_id {
  1226. deliveryTime
  1227. updatedAt
  1228. payTime
  1229. orderTotalPay
  1230. createdAt
  1231. orderStatus
  1232. id
  1233. orderShipFee
  1234. count
  1235. productTotalPay
  1236. }
  1237. consigneeTel
  1238. id
  1239. consignAddress
  1240. LogisticsStatus
  1241. user_id {
  1242. email
  1243. updatedAt
  1244. password
  1245. telephone
  1246. username
  1247. createdAt
  1248. openid
  1249. id
  1250. }
  1251. consigneeName
  1252. }
  1253. }
  1254. mutation createorderProduct($remark: String, $updatedAt: String, $unit: Int, $product_id: ID, $orderPay: Float, $createdAt: String, $order_id: ID, $id: ID!, $count: Int, $productPay: Float, $user_id: ID) {
  1255. createorderProduct: create_orderProduct(remark: $remark updatedAt: $updatedAt unit: $unit product_id: $product_id orderPay: $orderPay createdAt: $createdAt order_id: $order_id id: $id count: $count productPay: $productPay user_id: $user_id) {
  1256. remark
  1257. updatedAt
  1258. unit
  1259. product_id {
  1260. category
  1261. updatedAt
  1262. unit
  1263. name
  1264. createdAt
  1265. status
  1266. id
  1267. intro
  1268. price
  1269. img
  1270. stock
  1271. }
  1272. orderPay
  1273. createdAt
  1274. order_id {
  1275. deliveryTime
  1276. updatedAt
  1277. payTime
  1278. orderTotalPay
  1279. createdAt
  1280. orderStatus
  1281. id
  1282. orderShipFee
  1283. count
  1284. productTotalPay
  1285. }
  1286. id
  1287. count
  1288. productPay
  1289. user_id {
  1290. email
  1291. updatedAt
  1292. password
  1293. telephone
  1294. username
  1295. createdAt
  1296. openid
  1297. id
  1298. }
  1299. }
  1300. }
  1301. mutation deleteproduct($category: String, $updatedAt: String, $name: String, $createdAt: String, $status: String, $id: ID, $intro: String, $price: Float, $img: String, $stock: Int) {
  1302. deleteproduct: delete_product(category: $category updatedAt: $updatedAt name: $name createdAt: $createdAt status: $status id: $id intro: $intro price: $price img: $img stock: $stock)
  1303. }
  1304. mutation updateorderProduct($remark: String, $updatedAt: String, $unit: Int, $product_id: ID, $orderPay: Float, $createdAt: String, $order_id: ID, $id: ID, $count: Int, $productPay: Float, $user_id: ID) {
  1305. updateorderProduct: update_orderProduct(remark: $remark updatedAt: $updatedAt unit: $unit product_id: $product_id orderPay: $orderPay createdAt: $createdAt order_id: $order_id id: $id count: $count productPay: $productPay user_id: $user_id) {
  1306. remark
  1307. updatedAt
  1308. unit
  1309. product_id {
  1310. category
  1311. updatedAt
  1312. unit
  1313. name
  1314. createdAt
  1315. status
  1316. id
  1317. intro
  1318. price
  1319. img
  1320. stock
  1321. }
  1322. orderPay
  1323. createdAt
  1324. order_id {
  1325. deliveryTime
  1326. updatedAt
  1327. payTime
  1328. orderTotalPay
  1329. createdAt
  1330. orderStatus
  1331. id
  1332. orderShipFee
  1333. count
  1334. productTotalPay
  1335. }
  1336. id
  1337. count
  1338. productPay
  1339. user_id {
  1340. email
  1341. updatedAt
  1342. password
  1343. telephone
  1344. username
  1345. createdAt
  1346. openid
  1347. id
  1348. }
  1349. }
  1350. }
  1351. mutation createadmin($id: ID!, $openid: String, $username: String, $password: String, $telephone: String, $email: String, $createdAt: String, $updatedAt: String) {
  1352. createadmin: create_admin(id: $id openid: $openid username: $username password: $password telephone: $telephone email: $email createdAt: $createdAt updatedAt: $updatedAt) {
  1353. id
  1354. openid
  1355. username
  1356. password
  1357. telephone
  1358. email
  1359. createdAt
  1360. updatedAt
  1361. }
  1362. }