Commit d65d999f by 宋毅

tj

parent 3ee463e0
......@@ -239,8 +239,20 @@ class UtilsOrderService extends AppServiceBase {
}
*/
async getQrCode(pobj, actionBody) {
if (!actionBody.orderNo) {
return system.getResult(null, "actionBody.orderNo can not be empty");
if (!actionBody.order_num) {
return system.getResult(null, "actionBody.order_num can not be empty");
}
if (!actionBody.total_fee) {
return system.getResult(null, "actionBody.total_fee can not be empty");
}
if (!actionBody.body_desc) {
return system.getResult(null, "actionBody.body_desc can not be empty");
}
if (!actionBody.op_type) {
return system.getResult(null, "actionBody.op_type can not be empty");
}
if (actionBody.op_type != "wx" && actionBody.op_type != "alipay") {
return system.getResult(null, "actionBody.op_type param error");
}
var url = this.centerAppUrl + "payment/paymentApi/getQrCode";
return await this.restPostUrl(pobj, url);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment