xxx银收银账号同步接口和空数据依赖的服务商数据插入(SQL)

xxx银那边数据需要同步,同步接口如下: curl -X POST -H "Content-Type: application/json"  -d  '{"area": "遵化市","address": "华富西街依水现代城南门正对面","agentNo": "201813","cit...


xxx银那边数据需要同步,同步接口如下:

curl -X POST -H "Content-Type: application/json"  -d  '{"area": "遵化市","address": "华富西街依水现代城南门正对面","agentNo": "201813","city": "唐山市","contactName": "测试门店","sign":"f7d55bc9416241aa5b6eeaf6a896d03f","shopName":"常熟商户测试","storeNo":"20455719","province": "河北省","contactsTel": "15850835576","shopType": "catering","account": "15850835576","merchantNo": "369641"}'  http://127.0.0.1:3333/admin/app/synAccount/synAccount



调用接口的时候需要填写服务商,服务商需要依赖下面的几条sql插入的数据:一定要和第一条sql ums_admin 表插入的这条数据的id 匹配下面两个sql的user_id 对应起来。

INSERT INTO `ums_admin` ( `user_no`, `username`, `password`, `client_type`, `invite_code`, `icon`, `email`, `nick_name`, `phone`, `gender`, `birthday`, `device_id`, `note`, `req_key`, `create_time`, `login_time`, `status`) VALUES ('201813', '13800138000', 'uhegm+HA4qsD32jtoxIt3A==', 2, '2CQ1S7', 'https://img-new.xxxx.com/ms.pos.st/6b3a7aa0-2bdf-4986-b944-c31a9848ff8e_w640_h640.jpg', NULL, '支付中台', '13800138000', 0, NULL, '56F2968B-F9E7-489E-86FE-3A0C674A7C52', NULL, NULL, now(), now(), 1); 



INSERT INTO `ag_agent` (id,`agent_name`, `agent_no`, `invite_code`, `agent_logo`, `user_id`, `nick_name`, `phone`, `type`, `parent_id`, `fee`, `is_float`, `float_up`, `float_fee`, `address`, `create_time`, `update_time`, `is_del`) VALUES (1,'平台代理商', '123123', 'QSK2ED', 'dddd.jpg', 5, '平台', NULL, 1, 0, 0.60, 1, 100000.00, 0.28, '地址', now(), now(), 0);


 INSERT INTO `ag_employee` (`agent_id`, `user_id`, `user_name`, `nick_name`, `role_id`, `role_name`, `balance`, `withdraw_out`, `withdraw_now`, `withdraw_total`, `profit_fee`, `is_platform`, `is_boss`, `is_push`, `status`, `create_time`, `update_time`, `withdraw_pass`, `bank_username`, `bank_cardno`, `bank_name`, `card_type`, `card_no`, `card_phone`, `card_start_time`, `card_end_time`) VALUES (1, 5, '13800138000', 'kaike', 3776, '所有者', 48484.48, 0.00, 0.00, 0.00, 0.00, 0, 1, 0, 1, now(), now(), '8888888', 'kaike', '6212xxxx02xddxx2736', '工商银行', '身份证(中国大陆居民)', '142xxxxxx1dd051X', NULL, NULL, NULL);


  • 发表于 2025-10-22 16:57
  • 阅读 ( 13 )

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
石天
石天

437 篇文章

作家榜 »

  1. shitian 662 文章
  2. 石天 437 文章
  3. 每天惠23 33 文章
  4. 小A 29 文章