Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
takeout_sbk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yunpeng.song
takeout_sbk
Commits
192dc3ce
Commit
192dc3ce
authored
Aug 13, 2020
by
wuyang.zou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix version
1、开放价格的配送费 2、Version:2.2020.8.10
parent
c0bb3af5
Pipeline
#24406
failed with stage
in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
fmTakeout/Control/flowControl.cpp
+5
-5
fmTakeout/fmTakeout.rc
+4
-4
fmTakeout/preDefine.h
+1
-1
No files found.
fmTakeout/Control/flowControl.cpp
View file @
192dc3ce
...
...
@@ -3231,9 +3231,9 @@ bool FlowControl::_ResponseSimReqFristOrderData(const QJsonObject &content, QJso
//向商品列表尾部 添加 配送费项 + 配送费折扣项; 【特别说明:WSG-MOD 配送费及配送费折扣信息存储 coupons中;故在此处排除】
if
(
orderObject
->
deliveryPrice
>
0
&&
(
"MOD"
==
orderObject
->
channel
||
"ELE"
==
orderObject
->
channel
)
)
{
QJsonObject
tDeliveryFeeObj
;
tDeliveryFeeObj
.
insert
(
"consume_num"
,
orderObject
->
deliveryPrice
/
100
);
tDeliveryFeeObj
.
insert
(
"pid"
,
"
6000101"
);
//配送费SKU;
tDeliveryFeeObj
.
insert
(
"original_price"
,
100
);
tDeliveryFeeObj
.
insert
(
"consume_num"
,
1
);
tDeliveryFeeObj
.
insert
(
"pid"
,
"
710000268"
);
//配送费SKU变更; Old: 6000101 -> New:710000268 (此key 不允许设置价格为0,故当配送费为0元时,使用老的key)
tDeliveryFeeObj
.
insert
(
"original_price"
,
orderObject
->
deliveryPrice
);
products
.
push_back
(
tDeliveryFeeObj
);
//星巴克APP/预约系统的支付方式是84; ELE的支付方式是83; [MOP不应该存在配送费且不存在配送费折扣]
if
(
orderObject
->
deliveryDiscount
>
0
&&
84
==
tempOrderPayType
){
...
...
@@ -3252,8 +3252,8 @@ bool FlowControl::_ResponseSimReqFristOrderData(const QJsonObject &content, QJso
//配送费是0元时:需录入配送费[非-MOP(销售退货),非-MOP测试; ];
}
else
if
(
0
==
orderObject
->
deliveryPrice
&&
(
"MOD"
==
orderObject
->
channel
||
"ELE"
==
orderObject
->
channel
)
)
{
QJsonObject
tDeliveryFeeZoreObj
;
tDeliveryFeeZoreObj
.
insert
(
"consume_num"
,
9
);
tDeliveryFeeZoreObj
.
insert
(
"pid"
,
"6000101"
);
//配送费SKU;
tDeliveryFeeZoreObj
.
insert
(
"consume_num"
,
1
);
tDeliveryFeeZoreObj
.
insert
(
"pid"
,
"6000101"
);
tDeliveryFeeZoreObj
.
insert
(
"original_price"
,
0
);
products
.
push_back
(
tDeliveryFeeZoreObj
);
}
...
...
fmTakeout/fmTakeout.rc
View file @
192dc3ce
...
...
@@ -7,8 +7,8 @@ IDI_ICON ICON DISCARDABLE "logo.ico"
#endif
VS_VERSION_INFO VERSIONINFO
//***每次修改后编译发版必须变更版本号(preDefine.h中APP_VERSION 需要一致)***//
FILEVERSION 2,2020,
7,29
PRODUCTVERSION 2,2020,
7,29
FILEVERSION 2,2020,
8,10
PRODUCTVERSION 2,2020,
8,10
//*************************************************************************//
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
...
...
@@ -31,8 +31,8 @@ VS_VERSION_INFO VERSIONINFO
VALUE "OriginalFilename", "fmTakeout.exe"
VALUE "ProductName", "Delivery Order Plugin"
//***每次修改后编译发版必须变更版本号(preDefine.h中APP_VERSION 需要一致)***//
VALUE "ProductVersion", "2.2020.
7.29
"
VALUE "FileVersion", "2.2020.
7.29
"
VALUE "ProductVersion", "2.2020.
8.10
"
VALUE "FileVersion", "2.2020.
8.10
"
//*************************************************************************//
END
END
...
...
fmTakeout/preDefine.h
View file @
192dc3ce
...
...
@@ -28,7 +28,7 @@
//#define APP_VERSION "2.2020.312.1"
//#define APP_VERSION "2.2020.5.26"
//#define APP_VERSION "2.2020.6.29"
#define APP_VERSION "2.2020.
7.29
"
#define APP_VERSION "2.2020.
8.10
"
//修正版本号时,切记修正 FmTakeout.rc 中的版本号
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment