Arthur-Wu committed this file on 2024-11-20
This commit is contained in:
parent
80fadf69a7
commit
ce1ebb0836
26
YiMao/ZeroLib/demo_1120.py
Normal file
26
YiMao/ZeroLib/demo_1120.py
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# !/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# @Author:: Arthur Wu
|
||||||
|
# @Date:: 2024/11/20-18:01
|
||||||
|
# @Description::
|
||||||
|
import os
|
||||||
|
|
||||||
|
|
||||||
|
def demo1120():
|
||||||
|
barcodeli = [
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
|
# os.system(f"adb shell am broadcast -a com.ieemoo.autoAction -e barcode {BarCode}")
|
||||||
|
# res = os.system("adb shell am broadcast -a com.ieemoo.autoAction -e barcode 293849600000")
|
||||||
|
'''
|
||||||
|
Broadcasting: Intent { act=com.ieemoo.autoAction flg=0x400000 (has extras) }
|
||||||
|
Broadcast completed: result=0
|
||||||
|
'''
|
||||||
|
# res2 = os.popen("adb shell am broadcast -a com.ieemoo.autoAction -e barcode 6971648922990").read()
|
||||||
|
res2 = os.popen("adb shell am broadcast -a com.ieemoo.autoAction -e barcode 293849600000").read()
|
||||||
|
# print(res)
|
||||||
|
print(res2)
|
||||||
|
|
||||||
|
|
||||||
|
demo1120()
|
@ -16,8 +16,11 @@ adsAreaId-7: 小票广告
|
|||||||
'''1-武商会员账号'''
|
'''1-武商会员账号'''
|
||||||
VIPPhoneNumber = "17786408673"
|
VIPPhoneNumber = "17786408673"
|
||||||
|
|
||||||
''' -商超、门店信息 '''
|
''' -商超、门店信息
|
||||||
MarketAndStoreDetails = {"putMarketId": 50, "putStoreId": ["29"]}
|
梦时代:storeId: 69, marketId: 50
|
||||||
|
百圣:storeId: 29, marketId: 50
|
||||||
|
'''
|
||||||
|
MarketAndStoreDetails = {"putMarketId": 50, "putStoreId": ["69"]}
|
||||||
''' -购物袋 '''
|
''' -购物袋 '''
|
||||||
GoodsBagInputcode_mid = '6971648922990'
|
GoodsBagInputcode_mid = '6971648922990'
|
||||||
GoodsBagInputcode_max = '6971648922983'
|
GoodsBagInputcode_max = '6971648922983'
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user