| @@ 79-92 (lines=14) @@ | ||
| 76 | $this->__construct(); |
|
| 77 | } |
|
| 78 | ||
| 79 | public function getBizContent() |
|
| 80 | { |
|
| 81 | /*$this->bizContent = "{"; |
|
| 82 | foreach ($this->bizParas as $k=>$v){ |
|
| 83 | $this->bizContent.= "\"".$k."\":\"".$v."\","; |
|
| 84 | } |
|
| 85 | $this->bizContent = substr($this->bizContent,0,-1); |
|
| 86 | $this->bizContent.= "}";*/ |
|
| 87 | if(!empty($this->bizParas)){ |
|
| 88 | $this->bizContent = json_encode($this->bizParas,JSON_UNESCAPED_UNICODE); |
|
| 89 | } |
|
| 90 | ||
| 91 | return $this->bizContent; |
|
| 92 | } |
|
| 93 | ||
| 94 | public function getAuthCode() |
|
| 95 | { |
|
| @@ 230-243 (lines=14) @@ | ||
| 227 | $this->bizParas['goods_detail'] = $goodsDetailList; |
|
| 228 | } |
|
| 229 | ||
| 230 | public function getBizContent() |
|
| 231 | { |
|
| 232 | /*$this->bizContent = "{"; |
|
| 233 | foreach ($this->bizParas as $k=>$v){ |
|
| 234 | $this->bizContent.= "\"".$k."\":\"".$v."\","; |
|
| 235 | } |
|
| 236 | $this->bizContent = substr($this->bizContent,0,-1); |
|
| 237 | $this->bizContent.= "}";*/ |
|
| 238 | if (!empty($this->bizParas)) { |
|
| 239 | $this->bizContent = json_encode($this->bizParas, JSON_UNESCAPED_UNICODE); |
|
| 240 | } |
|
| 241 | ||
| 242 | return $this->bizContent; |
|
| 243 | } |
|
| 244 | } |
|